Category : Files from Magazines
Archive   : VOL7N3.ZIP
Filename : RUN.DOC

 
Output of file : RUN.DOC contained in archive : VOL7N3.ZIP

RUN
Command

Michael J. Mefford 1988 No. 2 (Utilities)


Purpose: Executes .COM, .EXE, or .BAT files from any disk directory
without requiring changing directories or specifying a path to the file.

Format: RUN [/C|/S][d:][directory]filename [args]

Remarks: Unless the optional directory parameter is specified, RUN
defaults to a diskwide search to find the executable filename. Any additional
arguments (args) that would normally be specified on the DOS command line may
be added to the filename that RUN is called upon to execute. A drive
specifier (d:) must be used if the file to be run is not on the current drive.
During its search, any keypress with abort the operation of RUN.COM.

RUN can either operate from the current directory (its default mode,
designated by the optional /S switch) or it can change to the directory (/C)
in which it finds the desired program before executing it. The /C option is
required by programs such as WordStar, which can find their overlay files
only when loaded from within the directory in which they are stored. The /C
option is also required to run .BAT files under DOS 2.x (see Note below).

Note: RUN overcomes the inability of DOS 2.x to handle .COM and .EXE
files that are prefixed with a path. Batch files under DOS 2.x, however,
still require RUN's /C option. If desired, the /C option can be made the RUN
default mode, with /S as its selectable alternative. To make the change, put
a copy of RUN in the same directory with DEBUG.COM, and enter the following
commands:


DEBUG RUN.COM
E 15B 1
E 1E8 "C"
W
Q

If you later upgrade your version of DOS and wish to reverse the
process, use the same procedure with the following commands:


DEBUG RUN.COM
E 15B 0
E 1E8 "S"
W
Q

®MDBO¯®MDNM¯

  3 Responses to “Category : Files from Magazines
Archive   : VOL7N3.ZIP
Filename : RUN.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/