Radimus Posted July 22, 2004 Share Posted July 22, 2004 using shortcut.exe (I think from a wintendo CD)called from cmdlines.txt[Commands]"REGEDIT /S RegTweaks.reg""apps.cmd""Shortcuts.cmd"just keep adding additional ones as necessary@echo offrem set t= FULL PATH TO EXErem set n= FULL PATH TO LOCATIOON OF SHORTCUTrem set d= WORKING DIRECTORY OF SHORTCUTrem set a= ARGUMENTS OF SHORTCUTrem set i= ICONFILE rem set X= ICONINDEX rem start /wait shortcut.exe -t %t% -n %n% -d %d% -a %a% -i %i% -X %x% -fset t="c:\program files\netmeeting\conf.exe"set n="%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\Communications\Netmeeting.lnk"set d="c:\program files\netmeeting"start /wait shortcut.exe -t %t% -n %n% -d %d% -fset t=set n=set d=set a=set i=set X= start /wait shortcut.exe -t %t% -n %n% -d %d% -a %a% -i %i% -X %x% -f Link to comment Share on other sites More sharing options...
maxXPsoft Posted July 23, 2004 Share Posted July 23, 2004 You trying to complicate it. This works for meshortcut.exe /f:"%USERPROFILE%\Desktop\SuperScan.lnk" /a:c /t:"%programfiles%\SuperScan\scanner.exe" /W:"%programfiles%\SuperScan" Link to comment Share on other sites More sharing options...
Radimus Posted July 23, 2004 Author Share Posted July 23, 2004 not really.. I just HATE long linesand for the most part, only 3 set statements are use.. the other are only there for completeness Link to comment Share on other sites More sharing options...
maxXPsoft Posted July 23, 2004 Share Posted July 23, 2004 1 line or 18Reality what a concept. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now