make a desktop shortcut perform a DOS command?

  • Thread starter Thread starter tensepast
  • Start date Start date
T

tensepast

Home for the holidays and my mom wants Pac-Man and Tetris installed.

I have the command line version of mame installed. To run Pac-Man, for
example, you enter at a command prompt:

C:\Program Files\mame> mame.exe -w pacman

Is there a way to make a shortcut on the desktop that will execute that
DOS command?

Thanks in advance
 
tensepast said:
Home for the holidays and my mom wants Pac-Man and Tetris installed.

I have the command line version of mame installed. To run Pac-Man,
for example, you enter at a command prompt:

C:\Program Files\mame> mame.exe -w pacman

Is there a way to make a shortcut on the desktop that will execute
that DOS command?

Right-Click on an area of the desktop (empty) and choose "New" -->
"Shortcut".

In the "Type the location of the item" blank - type:

"C:\Program Files\mame\mame.exe" -w pacman

Then finish making the shortcut.
 
Right click on the desktop, choose new>shortcut insert the path to the
executable, click next, follow the prompts.
 
Home for the holidays and my mom wants Pac-Man and Tetris installed.

I have the command line version of mame installed. To run Pac-Man, for
example, you enter at a command prompt:

C:\Program Files\mame> mame.exe -w pacman

Is there a way to make a shortcut on the desktop that will execute
that DOS command?


Sure.

Using Notepad, create a text file which contains just the above command, and
call it something like Pacman.bat (you can change the first part of the
name, but keep the .bat). Save the file somewhere like \Program Files, or
create a folder within \Program Files for it, then create a shortcut to it
on the desktop.
 
Sure.

Using Notepad, create a text file which contains just the above
command, and call it something like Pacman.bat (you can change the
first part of the name, but keep the .bat). Save the file somewhere
like \Program Files, or create a folder within \Program Files for it,
then create a shortcut to it on the desktop.


Disregard my advice above, which will work, but is needlessly complicated. I
see that two others have told you a simpler way, which is what I should have
done, but I just wasn't thinking.
 
tensepast said:
Home for the holidays and my mom wants Pac-Man and Tetris
installed.
I have the command line version of mame installed. To run Pac-Man,
for example, you enter at a command prompt:

C:\Program Files\mame> mame.exe -w pacman

Is there a way to make a shortcut on the desktop that will execute
that DOS command?

Sure.

Using Notepad, create a text file which contains just the above
command, and call it something like Pacman.bat (you can change the
first part of the name, but keep the .bat). Save the file somewhere
like \Program Files, or create a folder within \Program Files for
it, then create a shortcut to it on the desktop.

Disregard my advice above, which will work, but is needlessly
complicated. I see that two others have told you a simpler way,
which is what I should have done, but I just wasn't thinking.

Personally - I liked that you posted that method - whether you were
"thinking" or not. *grin*

Options - multiple ways of doing the same thing - that is what makes
supporting computers so much fun.

Heck - it is what makes life interesting.
 
Shenan said:
Personally - I liked that you posted that method - whether you were
"thinking" or not. *grin*

Options - multiple ways of doing the same thing - that is what makes
supporting computers so much fun.

Heck - it is what makes life interesting.


LOL! Very true.
 
Disregard my advice above, which will work, but is needlessly complicated. I
see that two others have told you a simpler way, which is what I should have
done, but I just wasn't thinking.

But won't your way give you those two extra properties tabs which the first
way won't get?

Don <www.donwiss.com> (e-mail link at home page bottom).
 
x-no-archive: yes
Personally - I liked that you posted that method - whether you were
"thinking" or not. *grin*

Options - multiple ways of doing the same thing - that is what makes
supporting computers so much fun.

Heck - it is what makes life interesting.

Interesting?

Nah!

I spent some time in Sunny Southern California. I LOVED the bumper
sticker that said,

"Life's a beach!"

kidding!

Happy New Year All!

Tallahassee
 
Back
Top