home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #2 / RBBS_vol1_no2.iso / add2 / sd62.zip / SDM.BAT < prev    next >
DOS Batch File  |  1989-06-02  |  1KB  |  26 lines

  1. echo off
  2. if not "%1"=="" goto ok
  3. echo ╔════════════════════════════════════════════════════════════════╗
  4. echo ║ Sorted Directory Utility Batch File for Multiple Commands      ║
  5. echo ║ Copyright (C) 1989 By John F. Stetson - All Rights Reserved    ║
  6. echo ║                                                                ║
  7. echo ║ This batch file (SDM.BAT) allows you to execute the SD program ║
  8. echo ║ with multiple sets of command line parameters (drives, paths,  ║
  9. echo ║ file name specifications and/or switches) all specified on the ║
  10. echo ║ same command line.  Each set of parameters which is separated  ║
  11. echo ║ by one or more spaces is individually passed to the SD program.║
  12. echo ║                                                                ║
  13. echo ║ Please refer to the SD.DOC file for additional information.    ║
  14. echo ║ Press the ESCAPE key to terminate the batch file at any time.  ║
  15. echo ╚════════════════════════════════════════════════════════════════╝
  16. goto end
  17. :ok
  18. if "%2"=="" goto last
  19. sd %1/$
  20. if errorlevel 2 goto end
  21. shift
  22. goto ok
  23. :last
  24. sd %1/$$
  25. :end
  26.