Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Change Working Directory of Quick Launch Icon

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,27240
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Change Working Directory of Quick Launch Icon
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Change Working Directory of Quick Launch Icon - 10/24/2005 12:42:03 AM   
  cjwallace

 

Posts: 491
Score: 0
Joined: 3/5/2005
From: United Kingdom
Status: offline
Guys, i have a shortcut in my users Quick Launch and i would like to change the target directory

I have a script that will create an icon but i dont want to do that i just want to change the target directory


Anyone have any ideas?

Many thanks
 
 
Post #: 1
 
 RE: Change Working Directory of Quick Launch Icon - 10/24/2005 2:14:50 AM   
  Country73


Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
Creating / modifying a shortcut is done in the same manner.

This took a shortcut on my desktop "Testing.lnk" and changed the Target Path from "C:\Scripting" to "C:\Temp"


      

(in reply to cjwallace)
 
 
Post #: 2
 
 RE: Change Working Directory of Quick Launch Icon - 10/24/2005 6:06:21 PM   
  Zifter


Posts: 318
Score: 0
Joined: 1/5/2005
From: Belgium
Status: offline
This script (based on the one of Country73) shows how to change a shortcut in the QuickLaunch bar of the currently logged on user
      HTH

<edit>
Actually the use of the FileSystemObject in my sample script is not necessary at all to get the path of the shortcut (it's a left over from my tests).
You can simplify the statement to this:

strShortcutPath = strQuickLaunchPath & "\NameOfShortcut.lnk"

and remove all objFso statements
</edit>

< Message edited by Zifter -- 10/24/2005 8:07:59 PM >

(in reply to cjwallace)
 
 
Post #: 3
 
 RE: Change Working Directory of Quick Launch Icon - 10/24/2005 7:19:00 PM   
  cjwallace

 

Posts: 491
Score: 0
Joined: 3/5/2005
From: United Kingdom
Status: offline
Thanks guys.

(in reply to Zifter)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Change Working Directory of Quick Launch Icon Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts