Page 1 of 1

add in shortcut.exe command as an internal command??

Posted: 03 Apr 2010 05:49
by jamesfui
Is there another WAY to include the shortcut.exe cz everytime when i need to use the shortcut command, i need to include where its the shortcut.exe then i can create those folder shortcut..

if i lost the file (shortcut.exe) what am i gonna do?
so it there a method to add in this shortcut command in bat??
so we can use it willingly :?

Re: add in shortcut.exe command as an internal command??

Posted: 05 Apr 2010 09:54
by avery_larry
If you're on a network, you can put it in a common location and reference it with full path all the time


f:\public\shortcut.exe


If it's in one of the standard directories on every machine you could use

"%windir%\system32"

or something similar:

"%programfiles%\my software\shortcut.exe"