Hi,
I would like to use a custom requirement to check whether there is a specified file in a computer or not?
But my problem is that how to use a variable to represent a path for the specified file.
Actually, i would like to check whether or not there is a cookie file in
C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files
But C:\Documents and Settings\Administrator
is normally different on each computer based on a user logon to that computer
Also, the name of the file that i'd like to check , the cookie file actually, is in the format user@domain ex. administrator@abc.com
So how can i use any variables to represent the path and the user info.
ex. %USERPROFILE%\Administrator\Local Settings\Temporary Internet Files
And about the file name, can i use %USERNAME% to represent the first portion of the file name
ex. %USERNAME%@abc.com
I've tested with using %USERPROFILE% to represent the path of the file.
But SEP agent cannot find the specified file when using the path above.
Does anyone know about using these variables?
Please suggest
Thanks