Jeffrey Renfroe
asked on
Check for a file in user temp with a batch file
Hello. I need to check if a file is present in the user temp and if so do not run an exe. I think the below code I had would work but it is not. Any ideas on what I am missing?
if exist %temp%\skipdefrag.flg goto :eof
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thank you
ASKER