Re: make a desktop shortcut perform a DOS command?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



tensepast wrote:
> 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?

Ken Blake, MVP wrote:
> 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.

Ken Blake, MVP wrote:
> 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 Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


.



Relevant Pages

  • Re: make a desktop shortcut perform a DOS command?
    ... >> Home for the holidays and my mom wants Pac-Man and Tetris ... >> I have the command line version of mame installed. ... > Ken Blake, MVP wrote: ...
    (microsoft.public.windowsxp.general)
  • Re: make a desktop shortcut perform a DOS command?
    ... >> Home for the holidays and my mom wants Pac-Man and Tetris ... >> I have the command line version of mame installed. ... >Ken Blake, MVP wrote: ...
    (microsoft.public.windowsxp.general)
  • Re: make a desktop shortcut perform a DOS command?
    ... >> Home for the holidays and my mom wants Pac-Man and Tetris installed. ... >> I have the command line version of mame installed. ... Ken Blake - Microsoft MVP Windows: ...
    (microsoft.public.windowsxp.general)
  • Re: make a desktop shortcut perform a DOS command?
    ... > Home for the holidays and my mom wants Pac-Man and Tetris installed. ... > I have the command line version of mame installed. ... > Is there a way to make a shortcut on the desktop that will execute ...
    (microsoft.public.windowsxp.general)
  • Re: Microsoft Office Ultimate 2007 WHY???
    ... Here is a possible "Transition " tool that has been provided by MS ... Milly Staples [MVP - Outlook] ... and look up the command for every bloody command out there. ... Windows 3.1 Microsoft missed the boat by not providing a ...
    (microsoft.public.office.misc)