Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?
|
Some Help with relative Shortcuts
Wooops_Phil - November 4, 2009 - 10:57pm
Hello,
I´m trying to create some launchers/shortcuts to run cmd.exe from my stick in the local installation (with parameters).
So far I have tried with some variables but they haven´t work, like
%HomeDrive%\WINDOWS\system32\cmd.exe
%SystemDrive%\WINDOWS\system32\cmd.exe
%SystemRoot%\system32\cmd.exe
%SYSTEMDRIVE%\WINDOWS\system32\cmd.exe
Also with %ComSpec% and %Path% .
It doesn´t work neither if I leave "\WINDOWS\system32\cmd.exe" since it uses the drive of the usb.
Any help on how to make it work? 
PD: Since I´m not an expert guy I´m using http://www.mystercrowley.com/portabilizer.php to make the launchers and what it´s actually not working is the target field.
Phil
|
Command Prompt Portable
Why not just use Command Prompt Portable:
http://portableapps.com/apps/utilities/command_prompt_portable
Sometimes, the impossible can become possible, if you're awesome!
KISS
How about simply:
cmd.exe
The host knows it's location. If not then use:
c:\windows\system32\cmd.exe
It's rare the systemdrive isn't c:.
Ed
FreeCommanderPortable
If you use FreeCommanderPortable as your file manager (a good choice, I might add), it has an icon in the menubar to drop to the command prompt in the currently active folder.
neutron1132 (at) usa (dot) com
Thanks that works
Thanks that works
I tried it but as the thread points out http://portableapps.com/node/7890
It doesn´t support running with parameters, unless I use a permanent one in the batch file.
(sorry for the delay)
Phil