answersLogoWhite

0


Best Answer

You don't directly write programs on the command prompt, but you can use programs to run commands off the command prompt. They're called batch files (or command files .cmd) There are a few guides for proper syntax in batch files, as well as ways to use the many commands. A lot of them can be found by typing "help" into the command prompt.

Batch files are simple scripts that do easy tasks, such as opening files, copying directories, and deleting files. You can make menus on them and open selective files upon startup too.

They don't even need to be compiled. Just use a text editor (Notepad or

another program designed for scripting) and write the commands with correct syntax. It's simple and runs line-by-line. Save it as a file with a .bat file name extension, or as a .cmd extension. The files are written in Microsoft DOS format.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Just write the name of that program. For example, if you want to execute abc.exe under c drive then just execute following commands:

c:\> abc and press enter.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you open a program in command prompt?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the default program to open a jar file to execute a program?

You can open jar files with command prompt, Winrar or java.


What is the purpose of the command prompt?

the command prompt is a program where you can command the computer to perform functions such as shutdown, restart, open a certain file, start a program, etc.


What is the name for the black screen with numbers and letters when a computer is booted?

Its called the command prompt Type command prompt into the help and support program that comes with windows and it will give you a link to open it.


What is the abbreviation for cmd?

CMD stands for Comand Prompt. It is a program found in Microsoft Windows, and can do many things. Command Prompt can be a stand-alone program, or open the .bat file type.


How do you get around access denied in command prompt?

Right click your command prompt and click open as administrator.


What does open error mean in command prompt?

How can i fix command promt


How do you open command prompt on a PC when it's blocked?

You can open a command prompt on a PC when it's blocked by simultaneously holding down the Windows key and pressing 'R' on the keyboard. Type 'cmd' into the box and you will have access to the command prompt.


What is the command to run your programexe using the command prompt?

Run program.exeorthe name of the program, with or without .exe (if the command prompt is in the same directory/folder of the executable)


Where is run in comand prompt?

To open a command prompt via "Run" make sure you are the admin on your computer. Open the run box and in it type "cmd" and press enter. A black command prompt box should open up.


Which command is used from the Windows command prompt to schedule a program to run at a specific time?

AT


How do you run a DOS program in a window?

you have to use the command prompt(also called the DOS prompt by older users. You can find this by going to "start" , "programs" , "accessories" and "command prompt"


What program opens bat files?

Batch files(.bat) open in command prompt(cmd). They can be edited in notepad or an equivalent text editor.