View Full Version : Creating shortcuts in XP
04-19-2006, 01:05 PM
I'm working on a studio project and I need to create a windows shortcut to a file using only CLI commands. Does anyone know if there is a simple way to do this?
04-19-2006, 01:25 PM
By CLI you mean a Windows batch file? I don't know of a way to do it directly using batch commands, but it's easily done in VBScript or JScript using WshShell.CreateShortcut:
You can then invoke the script file from a command prompt or batch file using wscript.exe or cscript.exe.
04-19-2006, 01:41 PM
Thanks, that looks like it will do the trick!
vBulletin® v3.7.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.