home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Shareware 500 (First Edition)
/
disk2.img
/
FILECMDR
/
WWWVIRT.BA$
/
wwwvirt.ba_
Wrap
Text File
|
1992-06-12
|
1KB
|
28 lines
ECHO OFF
REM This batch file is provided as a means to change the PATH
REM statement when running DOS applications. Using a single
REM generic batch file like this allows you to avoid having
REM scads of little batch files littering the disk.
REM
REM This BAT file has 2 required and up to 7 optional parameters.
REM First Param Path you wish to use. (Required)
REM Second Param Program you wish to run. (Required)
REM 3--9 Params Additional Optional Parameters (Optional).
REM
REM Example:
REM To run Microsoft Word (DOS Version) WORD.COM
REM using the currently selected file...
REM With a different path C:\WORD;C:\UTILS
REM In the C:\WORD\DOCUMENT directory...
REM Use the following statements in a Command Post menu item.
REM
REM &Appls
REM &Microsoft Word (DOS)
REM a=strcat(DirGet(),CurrentFile())
REM DirChange("C:\WORD\DOCUMENT")
REM Run("CP_VIRT.BAT","C:\WORD;C:\UTILS WORD.COM %a%")
REM
SET PATH=%1
%2 %3 %4 %5 %6 %7 %8 %9
EXIT