Create a shortcut to a Console app.

  • Thread starter Thread starter Julian
  • Start date Start date
J

Julian

I want to create a shortcut which opens a Console/DOS app and displays it's
help option, something like:

C:\cmd c:\mydosapp /?

And then waits for the user's input. How do I form the Target string for the
shortcut?
 
Julian,

How about writing a batch file?

Microsoft Windows XP - Batch files:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/batch.mspx

Batch File Help:
http://www.computerhope.com/batch.htm

--
Ramesh, Microsoft MVP
Windows XP Shell/User

Windows XP Troubleshooting
http://www.winhelponline.com


I want to create a shortcut which opens a Console/DOS app and displays it's
help option, something like:

C:\cmd c:\mydosapp /?

And then waits for the user's input. How do I form the Target string for the
shortcut?
 
Or, create a shortcut like this:

%windir%\system32\cmd.exe /k "c:\upx\upx.exe /?"

Where upx.exe is the console application.

--
Ramesh, Microsoft MVP
Windows XP Shell/User

Windows XP Troubleshooting
http://www.winhelponline.com


Julian,

How about writing a batch file?

Microsoft Windows XP - Batch files:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/batch.mspx

Batch File Help:
http://www.computerhope.com/batch.htm

--
Ramesh, Microsoft MVP
Windows XP Shell/User

Windows XP Troubleshooting
http://www.winhelponline.com


I want to create a shortcut which opens a Console/DOS app and displays it's
help option, something like:

C:\cmd c:\mydosapp /?

And then waits for the user's input. How do I form the Target string for the
shortcut?
 
Back
Top