Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create a Shortcut in My Network PlacesContent of Create a Shortcut in My Network Places.vbsMD5 Hash: 8D68F4A7B09B4883898035D3A065218C |
||
Const NETHOOD = &H13&
Set objWSHShell = CreateObject("Wscript.Shell") Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.Namespace(NETHOOD) Set objFolderItem = objFolder.Self strNetHood = objFolderItem.Path strShortcutName = "Finance Department Public Folder" strShortcutPath = "\\atl-finance-01\public" Set objShortcut = objWSHShell.CreateShortcut _ (strNetHood & "\" & strShortcutName & ".lnk") objShortcut.TargetPath = strShortcutPath objShortcut.Save | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |