home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pcresour / 1981_05 / vcopy1.bat < prev    next >
DOS Batch File  |  1988-07-15  |  380b  |  17 lines

  1. echo off
  2. if ""=="%1" goto help
  3. if ""=="%2" goto help
  4. if not exist %1 goto nosource
  5. copy %1 %2
  6. fc %1 %2 
  7. goto end
  8. :help
  9. echo VCOPY copies files and verifies the source file with the copy.
  10. echo To use VCOPY you must supply a source and destination like you
  11. echo would with the DOS copy command.
  12. goto end
  13. :nosource
  14. echo Source file not found. No files copied.
  15. :end
  16.  
  17.