How to: Execute EXE Files in Cmd

The Windows Command Line Utility (Cmd) provides you with the old MS-DOS command line that was used with older computers. The command line is still used by some network and system administrators to quickly give commands and execute programs. You can run EXE files from the Windows command line as long as you point the command line to the correct directory and give the correct EXE file name.
http://www.driversprintworld.com/2018/03/how-to-execute-exe-files-in-cmd.html

Instructions

1.Click the Windows Start button and type “cmd” in the text box. Press “Enter” to open the command line.
2.Add “cd ” to the root “C:” directory on the command line. Now enter “cd directory” in the command line and press “Enter“, “Directory” is the location of your EXE file. For example, if you want to run a file named “myexe.exe” in the “myfolder” directory, type “cd myfolder.”
3.Enter “exefile.exe” and press “Enter.” Replace “exefile.exe” with your own EXE file. The command-line utility will run the file. When the executable file opens a window, a window opens. You can use this type of execution for every executable file on your computer.

Leave a comment

Your email address will not be published. Required fields are marked *