2 Intern

 • 

1.9K Posts

May 9th, 2007 05:00

Create the shortcut pointing the target to the 32 bit command prompt window. In your case it would be the WOW64 whatever... cmd.exe.
 
Append the end of the target program block with "  /C " ( this will tell the command window to run the following string and exit )
 
This is an example for Windows 2000, but any Windows will work the same.
 
I want to run "winver" from a command prompt with a batch file. I have the batch file at C:\ named winver.bat.
 
My shortcut target looks like this:
 
%windir%\system32\cmd.exe /C c:\winver.bat
 
If you want the screen to be persistent use a " /K " instead of the " /C ".
 
I hope this makes some sense. It does work.
 
There are many options you can use: From any command prompt type in " cmd /? " without the quotes and it will tell you many things.
 
pcgeek11


Message Edited by pcgeek11 on 05-09-2007 01:52 AM

3 Posts

May 17th, 2007 23:00

pcgeek11......"thank you". It worked like a charm.
 
The people at microsoft told me it wasn't possible.
 
Thank you for proving them wrong.

2 Intern

 • 

1.9K Posts

May 18th, 2007 01:00

Glad it worked out for you!
 
pcgeek11
No Events found!

Top