How to Start a Program From a Command Prompt in WindowsID: Q126410
|
In Microsoft Windows 95/98, you can start a Windows-based or MS-DOS-based
program from the command prompt in an MS-DOS window. To do so, type
the program's executable filename, or use the START command at the MS-DOS
command prompt.
For example, to start ScanDisk for Windows, type "scandskw" (without
quotation marks) or "start scandskw" (without quotation marks) at the MS-
DOS command prompt.
NOTE: You may use Start.exe to activate a shortcut as well as a program.
For example, this may be useful when running an MS-DOS-based program from
within a batch file that has specific requirements configurable in the
shortcut's properties.
If you type only the programs's executable filename, Windows 95/98 searches
the current folder, and then the folders on the path statement for the
executable file. If the file is not found, you receive the following
error message:
bad command or filename
Cannot find file '<filename>' (or one of its components). Check to ensure the path and filename are correct and that all required libraries are available.
start /?
Runs a Windows program or an MS-DOS program.
START [options] program [arg...]
START [options] document.ext
/m[inimized] Run the new program minimized (in the background).
/max[imized] Run the new program maximized (in the foreground).
/r[estored] Run the new program restored (in the foreground).
[default]
/w[ait] Does not return until the other program exits.
Additional query words: wwt
Keywords : kbusage win95 win98
Version : 95
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: January 14, 1999