home *** CD-ROM | disk | FTP | other *** search
- echo off
- if not "%1"=="" goto ok
- echo ╔════════════════════════════════════════════════════════════════╗
- echo ║ Sorted Directory Utility Batch File for Multiple Commands ║
- echo ║ Copyright (C) 1989 By John F. Stetson - All Rights Reserved ║
- echo ║ ║
- echo ║ This batch file (SDM.BAT) allows you to execute the SD program ║
- echo ║ with multiple sets of command line parameters (drives, paths, ║
- echo ║ file name specifications and/or switches) all specified on the ║
- echo ║ same command line. Each set of parameters which is separated ║
- echo ║ by one or more spaces is individually passed to the SD program.║
- echo ║ ║
- echo ║ Please refer to the SD.DOC file for additional information. ║
- echo ║ Press the ESCAPE key to terminate the batch file at any time. ║
- echo ╚════════════════════════════════════════════════════════════════╝
- goto end
- :ok
- if "%2"=="" goto last
- sd %1/$
- if errorlevel 2 goto end
- shift
- goto ok
- :last
- sd %1/$$
- :end