home *** CD-ROM | disk | FTP | other *** search
/ 25 Mega Hit Games for DOS / 25_Mega_Hit_Games_Micro_Star_1996.iso / copydir.bat < prev    next >
DOS Batch File  |  1996-06-10  |  595b  |  32 lines

  1. @ECHO OFF
  2. CLS
  3. if .%2==. goto err3
  4. if exist %1:\%2\NUL goto err2
  5. cd\
  6. if not exist launcher.exe goto err
  7. md %1\%2
  8. xcopy %2\*.* %1\%2 /s
  9. %1
  10. cd\%2
  11. goto end
  12. :err
  13. echo Not at ROOT directory of CDRom drive.
  14. goto rest
  15. :err1
  16. echo Error 1
  17. :rest
  18. pause
  19. goto end
  20. :err2
  21. echo Format for using COPYDIR is: COPYDIR X: dirname
  22. echo  X:=Destination drive letter. ( i.e. C: )
  23. echo  dirname=Directory name of GAME.
  24. goto rest
  25. :err3
  26. echo Format for using COPYDIR is: COPYDIR X: dirname
  27. echo  X:=Destination drive letter. ( i.e. C: )
  28. echo  dirname=Directory name of GAME.
  29. goto rest
  30. :end
  31.  
  32.