Starting Programs

You can start all kinds of programs at the command prompt—programs for Windows 7, earlier versions of Windows, or MS-DOS—so you don't need to know a program's origin or type to run it. If it's on your disk, simply type its name (and path, if needed) followed by any parameters . It should run with no problem .

If you're starting a character-based program, it runs in the Command Prompt window. When you terminate the application, the command prompt returns. If you start a Windows-based program, it appears in its own window, and you can continue to work in the Command Prompt window

For additional control over the programs you start from a command prompt, you can use the Start command. For instance, for Windows-based programs, you can use /Min or /Max to open a program in a minimized or maximized window. For character-based programs, you can enter (in quotation marks) the title that you want to appear in the program window. Place any parameters or switches that you use with the Start command before the name of the program or command you want to start—for example, start /max myprog.exe. Anything after the program name is passed to the program as a command-line parameter and is ignored by Start.

For more information about the Start command, type start /? at the command prompt.

Open Windows Explorer at the current Command Prompt folder

If you type start. (with a period) at a command prompt, a Windows Explorer window opens on the current folder. This amounts to the opposite of Shift+right-clicking a folder in Windows Explorer to open a Command Prompt session at the selected folder.

Was this article helpful?

0 0
Digital Cancers

Digital Cancers

Get All The Support And Guidance You Need To Be A Success At Protecting Your PC. This Book Is One Of The Most Valuable Resources In The World When It Comes To The Damaging Facts About Computer Viruses.

Get My Free Ebook


Post a comment