About
Pricing
Community
Teams
Start Free Trial
Log in
Jeffrey Renfroe
asked on
3/16/2009
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
Select all
Open in new window
Windows Batch
3
1
Last Comment
Jeffrey Renfroe
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
sirbounty
3/16/2009
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jeffrey Renfroe
3/16/2009
ASKER
That helped. Thank you.
Jeffrey Renfroe
3/16/2009
ASKER
Thank you
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck