I wrote a batch file for work yesterday that wouldnt run and I cant figure out why. I scrapped the first function and rewrote it and got it working but Im still trying to figure out why the first version wont run. I can run the entire batch file line-by-line from a command prompt and it runs perfectly. And I tried putting a PAUSE after every command but it apparently was puking so hard on the first line that it never took; Id double-click on the batch file and the DOS window would flash and immediately close, not having executed a single step (if it had, it would have hit the PAUSE command and remained open, waiting for user input). Its running against the local file structure on a W2K3SP1 server. Heres the line: IF exist E:\Backup_DC\N01C\*Backup.bkf ( I also tried it as IF exist E:\Backup_DC\N01C\*Backup.bkf ( and IF exist \\FQDN\E$\Backup_DC\N01C\*Backup.bkf ( I replaced that clause with an IF exist goto and it worked. Ive used similar syntax hundreds of times before so Im baffled as to why this one won't cooperate, and why it will execute from command line but wont execute from batch file. I also tried is on my XPSP2 PC but it failed in exactly the same fashion. Sokay, whats the goof Im overlooking? There has to be one.