SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-19-2006, 01:05 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
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?
Reply With Quote
  #2  
Old 04-19-2006, 01:25 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
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
Reply With Quote
  #3  
Old 04-19-2006, 01:41 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Thanks, that looks like it will do the trick!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.