I need to check if a file is renamed, then if it isn't rename it and copy a new file to the same directory. Something like this:
IF EXIST C:\somefile.old
THEN END
ELSE
COPY Q:\Somfile.new C:\somefile.new
END
but I do not know how to do this in a normal login script. Do I need a vbscript or can I just do this in a regular batch file? Any help would be great.
Thanks!
-Jeremy
IF EXIST C:\somefile.old
THEN END
ELSE
COPY Q:\Somfile.new C:\somefile.new
END
but I do not know how to do this in a normal login script. Do I need a vbscript or can I just do this in a regular batch file? Any help would be great.
Thanks!
-Jeremy