Search found 2 matches

by beth.harless
08 Jun 2011 09:53
Forum: DOS Batch Forum
Topic: If Exist in Windows 7
Replies: 7
Views: 8961

Re: If Exist in Windows 7

When I run this code set up as a batch program, it's supposed to delete all the files of type prt*.* in the subfolder. The files do not get deleted.
by beth.harless
08 Jun 2011 09:41
Forum: DOS Batch Forum
Topic: If Exist in Windows 7
Replies: 7
Views: 8961

If Exist in Windows 7

I have a one line command that has worked for years. I have now upgraded to Windows 7 and the command no longer works. The code follows. IF EXIST c:\nightact\archive\%1.zip del c:\daily\prt*.* It's very simple but the code does not work in Windows 7. I can still run the exact same code on an XP box....