batch file

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

Question, here is my following batch file,
cls
Del C:\AccessMaster\TextFile\*.*.*
MOVE C:\DropSuspensionFile\*.*.* C:\AccessMaster\TextFile
RENAME C:\AccessMaster\TextFile\*.*.txt Suspension.txt
RENAME C:\AccessMaster\TextFile\*.*.* Suspension.txt

How can I write it so that the batch file does not delete
Suspension.txt if there is no file found in
C:\DropSuspensionFile.

Help
 
You might want to take a look at the Dir, Kill, FileName functions in Access.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top