|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Creating shortcuts in XP
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?
|
#2
|
||||
|
||||
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:
http://msdn.microsoft.com/library/de...6ffe9c777d.asp You can then invoke the script file from a command prompt or batch file using wscript.exe or cscript.exe.
__________________
-- Greg |
#3
|
||||
|
||||
Thanks, that looks like it will do the trick!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|