PDF download Download Article
A quick and easy guide to starting applications from the Windows Command Prompt
PDF download Download Article

Do you want to launch a program at the Command Prompt instead of double-clicking its icon? If you wrote a program that you want to test, you'll usually want to run it in Command Prompt to make sure it works. You can also run any executable program in Command Prompt, including built-in programs like Task Manager, File Explorer, and Notepad, as well as any program you've installed. This can be helpful when troubleshooting, creating batch scripts , or when you need to use switches and flags that do specific things. This wikiHow guide will show you two simple ways to start any Windows program in Command Prompt.

Things You Should Know

  • Use "start" followed by the program name to run a built-in Windows program (e.g., "start notepad").
  • To run a program from any folder, use "cd" to enter the folder that contains the program file first.
  • Once you're in the folder, type "start programname.exe," replacing "programname.exe" with the full name of your program file.
Method 1
Method 1 of 2:

Run Built-In Windows Programs

PDF download Download Article
  1. You can launch the command prompt by pressing the Windows key on your keyboard, typing cmd , and clicking Command Prompt in the search results.
    • This method will allow you to start any program on your PC that's in the C:\Windows\System32 folder, which are many of the built-in applications like File Explorer, Calculator, and Notepad .
    • To run programs from other folders at the prompt, see this method .
  2. Advertisement
  3. This must be the file's system name, not its shortcut name. For example, Command Prompt's system name is cmd . Common programs you can launch from Command Prompt include:
    • File Explorer: explorer
    • Calculator: calc
    • Notepad: notepad
    • Character Map: charmap
    • Paint: mspaint
    • Command Prompt (new window): cmd
    • Task Manager : taskmgr
  4. This launches the program from the Command Prompt in a new window.
    • If you want to use Notepad or Paint to open a file from the prompt, just type the full path to the file after the program name.
      • For example, start notepad C:\Users\Me\Documents\file.txt or start mspaint C:\Users\me\Pictures\picture.png .
  5. Advertisement
Method 2
Method 2 of 2:

Run Other Programs

PDF download Download Article
  1. You can open the prompt by pressing the Windows key , typing cmd , and clicking Command Prompt in the search results.
    • Use this method to start any program on your PC. Most programs end with the .EXE file extension, but you can also run other program types like .bin, .bat, .msi, and .cab, as well as Visual Basic formats like .vbs, .vb, and .vbscript. [1]
    • If the program you want to run requires administrator privileges, launch the command prompt as an administrator instead. Instead of clicking Command Prompt in the search results, right-click Command Prompt and select Run as administrator .
  2. Open the folder that has the program you want to run by clicking on any folders needed to get to it.
    • When the icon for the program you want to open in Command Prompt displays in the right panel of File Explorer, you're in the correct folder.
    • You can use this method to start a program from any location, not just the folders in your system path . For example, if you wrote and compiled a C program and saved it to your Documents folder, just open your Documents folder to find the program.
  3. Doing so is super easy:
    • Click the address bar at the top of the window.
    • Press Ctrl + C to copy.
  4. You'll use the "cd" command, which stands for Change Directories , to enter the folder that contains the program you want to run from the Command Prompt.
  5. If you copied the path from File Explorer earlier, press Ctrl + V to paste the copied path. Otherwise, type the full path now.
    • For example, if your program is in C:\Program Files\Adobe\Acrobat DC\Acrobat, your command will be cd C:\Program Files\Adobe\Acrobat DC\Acrobat .
  6. This takes you to the correct folder, which you'll now see at the beginning of the prompt.
  7. Now that you're in the right folder, starting the program is easy.
  8. For example, to start the program called acrobat.exe in the current folder, you'd now have start acrobat.exe at the prompt.
    • If there are spaces in the program's name, surround the file name with double quotation marks. For example, "system shock.exe" instead of system shock.exe ).
    • If you need to start the program with a specific switch, type a space after the program name, then type the switch. For example, to start Microsoft Word in Safe Mode, you'll type start winword.exe /safe . [2]
  9. The program will now open in its own window.
    • If you want the program you're running to open a specific file at the prompt, you can usually just type the full path to the file name after the program name. For example, to open a PDF in Acrobat from the prompt, you'd use start acrobat.exe C:\Users\Me\Documents\file.pdf .
    • If the file name has spaces (e.g., My File.pdf), surround the entire path with double quotation marks. For example, start acrobat.exe "C:\Users\Me\Documents\My File.pdf" .
    EXPERT TIP

    Luigi Oppido

    Computer & Tech Specialist
    Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years.
    Luigi Oppido
    Computer & Tech Specialist

    Did You Know? Running programs from the command prompt allows you to use switches and flags that will do specific things within the software, rather than just running the blind executable. You can also remove or rename files that you can't do from inside the Windows Explorer prompt.

  10. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    When would I need to run a program on Command Prompt?
    Luigi Oppido
    Computer & Tech Specialist
    Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years.
    Computer & Tech Specialist
    Expert Answer
    You might run specialty or legacy software on Command Prompt, or you may need to do some type of manipulation of files.
  • Question
    How do use other functions?
    Community Answer
    Type "Help" in the command prompt window to see a list of commands. Type "Help [command name]" to see a description and syntax usage of a specific command (just remember to replace "[command name]" with the command you want to learn about). For example, "Help xcopy" will display a description of the command along with the syntax and descriptions of each switch.
  • Question
    How would I know that your computer is ready to add a paste?
    Community Answer
    Right click. If 'paste' is highlighted, then you have something copied ready to paste.
See more answers
Ask a Question
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 1,929,903 times.

      Reader Success Stories

      • Andrei Nitu

        Nov 8, 2016

        "It was great, it really helped me start the necessary programs for my project."
      Share your story

      Is this article up to date?

      Advertisement