mgreen
-
Total Posts
:
21
- Scores: 0
-
Reward points
:
0
- Joined: 12/8/2010
-
Status: offline
|
create a shrotcut of a network path to your desktop
Tuesday, December 14, 2010 7:15 AM
( permalink)
Set WSHShell = CreateObject("WScript.Shell") Set FSO = WScript.CreateObject("Scripting.FileSystemObject") strDoc = WshShell.SpecialFolders("Desktop") strShortcut = strDoc & "\\shortcut.lnk" If Not FSO.FileExists(strShortcut) Then Set Link = WshShell.CreateShortcut(strShortcut) Link.TargetPath = "\\server\folder" Link.Description = "Shared Drive" Link.Save End If
|
|
|
|