Hello,

The purpose of this mail is to write a script that would test the presence of a file in a certain directory.
How to script the presence of the file OK.TXT located in the directory of the user profile?

I suppose the script looks like approximately to (but it doesn't work .....):

SET PROFUSR=%userprofile%
IF NOT EXIST (%PROFUSR%\ + "OK.txt")

Litterally it should match to:
IF NOT EXIST ("C:\Documents and Settings\Username\OK.TXT")