Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set WshShell = WScript.CreateObject("WScript.Shell")
- strDesktop = WshShell.SpecialFolders("Desktop")
- firefoxFolder = "C:\Program Files (x86)\Mozilla Firefox"
- set oShellLink = WshShell.CreateShortcut(strDesktop & "\Not Firefox.lnk")
- oShellLink.TargetPath = firefoxFolder & "\firefox.exe"
- oShellLink.IconLocation = firefoxFolder & "\firefox.exe"
- oShellLink.Description = "Shortcut Script 222"
- oShellLink.WorkingDirectory = firefoxFolder
- oShellLink.Save
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement