Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: https://support.microfocus.com/kb/doc.php?id=7015261
- echo off
- if exist c:\test\file.txt goto yesfile
- if not exist c:\test\file.txt goto nofile
- goto end
- :yesfile
- echo FILE EXISTS PROCESSING
- goto end
- :nofile
- echo FILE DOES NOT EXIST PROCESSING
- copy f:\PUBLIC\FILES\file.txt c:\test\file.txt
- goto end
- :end
Advertisement
Add Comment
Please, Sign In to add comment