Skip to main content
A

Anonymous

Oct 29, 2024

How do I open a program, such as paint, using Command Prompt?

I am beginning to use Command Prompt and have made significant progress, but I can't figure out how to open a program. Specifically, I would like to know how to open Paint using Command Prompt in Windows XP. Any guidance on the correct command or steps to take would be much appreciated.

7 Answers

you need to find the exact name (Firefox is firefox.exe Paint is mspaint.exe) and directory of the program (installed programs are usually in C:Program Files and Windows programs such as Paint are in C:WINDOWSsystem32)

once you find the directory type cd C:(directory)(sub-directory if available)

then type (program name).exe

e.g. MICROSOFT PAINT:

First type: cd C:WINDOWSsystem32

then : mspaint.exe

remember the cd command is very important because it changes the directory(folder) that it is in

type HELP in command prompt if you want a list of commands

type DIR if want to see a list all the files in the dictory(folder) you are in

A
Anonymous

Nov 15, 2024

https://shorturl.im/axlQ6

Yes, it’s possible. When you enter a command at the command prompt, the shell searches through a specified list of folders to find a program of the given name. In Unix-based systems such as Mac OS X or Linux, you can get that list of folders by typing echo $PATH. I believe the equivalent command in Windows is echo %PATH%. If you want to add a command, just drop a shell/batch script in a folder on the path and the shell will find it automatically. The Mac OS X script is really easy, because OS X already allows you to launch programs from the command line: —– artist —— #!/bin/sh open -a “Adobe Photoshop CS5” open -a “Adobe Illustrator CS5” Save this in a folder that you’re designating for scripts (by convention, you can use a “bin” folder in your home directory). Then, in a Terminal, type “open -e .bashrc”. At the bottom, add the line export PATH=~/bin:$PATH. Save it, and start a new terminal- you’re all done. In Windows, it’s a bit more difficult. On the desktop, right click Computer and go to Properties. Go to Advanced and then choose “Environment Variables”. Edit the System environment variable Path to include the folder you want to put your script in. You’ll have to make a batch file and use the Start command to run the programs. Unlike Mac OS X, you actually have to specify the path to the executable (I’m not sure on these file names you may need to change them) —– artist.bat —- start C:Program FilesAdobe Photoshop CS5photoshop.exe start C:Program FilesAdobe Illustrator CS5illustrator.exe —— Then, save the file to that folder that’s now on your path.

A
Anonymous

Jan 14, 2025

you type START andthe name of the executable

for example, to open mozilla firefox, you type in “start firefox.exe”

if you don’t know what the executable is, then open the program so it is running, open Task Manager, (ctrl+alt+del) right-click your program under Applications, and click Go To Process, and it should automatically take you to the Processes tab and highlight the corresponding process, which you can then type in command prompt. some programs built-in to the OS, like notepad, don’t require an extension, (.com, .bat, .exe), you just type the proper command, in this case, its NOTEPAD.

–you can also right click the program name under all programs in start menu and it should be under Shortcut, Target.

A
Anonymous

Jan 07, 2025

To open a file or program in command prompt type:

start {filename}

if the file is not in this folder: C:WindowsSystem32

the you will have to type the whole filepath it is in (as in the whole folder and file).

start mspaint.exe

will open paint

if you have internet explorer shortcut on your desktop then:

start %userprofile%DesktopInternet Explorer.exe

to open notepad type:

start notepad.exe

F
Fanny Crooks

Dec 23, 2024

you can make a batch script that will take a list of key words like ‘artist’ and simple open whatever you want using a switch statement. This can be opening via command line.

A
Anonymous

Oct 31, 2024

thank you i got answer.

its nice

www.go4it.in/index.html

Want to answer this question?

Join our community to share your knowledge!

Related Questions

3
A question for bike riders, How come the back wheel is always following the front one, Is that odd or what. ?

Have you ever noticed how the rear wheel of a bike seems to follow the front wheel closely? Why does this happen, and is...

8
CSS stands for Cybernet Slash Support or Cybernet Software Systems ?

What does CSS stand for: Cybernet Slash Support or Cybernet Software Systems? I came across a company located in T. Naga...

1
Today’s CPUs run at speeds measured in kilohertz.?

Today's CPUs operate at speeds measured in gigahertz rather than kilohertz. Is this statement true or false?

10
Preschool vs. Montessori?

Hi everyone, I’m trying to make a decision between enrolling my child in a preschool or a Montessori program. He’s curr...

7
Which view in a presentation program displays your slides in full-screen mode?

What view in a presentation program allows you to display your slides in full-screen mode?

10
does wizard101 give viruses?

I played Wizard101 on my other computer alongside some other games, and I had a lot of fun. However, my computer ended u...

4
Should I block OffSpon.Exe from Microsoft’s Office?

I recently purchased a new PC, and as is often the case, it came with trial versions of Microsoft programs. Specifically...

2
What are some advantages and disadvantages of locally installed software?

What are the advantages and disadvantages of locally installed software? Could you please provide a detailed overview of...

4
WHAT is “OSD” timer in my LCD moniter . i dont know why it shuts down when comp is workin?

I am experiencing an issue with my LCD monitor, which shuts down automatically after a few minutes of use. I would like...

6
Cubing can you gather details about a topic by

Cubing can help you gather details about a topic by examining it from various perspectives.