vSphereAutoLab/Build/Automate/CS2/Shortcuts.vbs

11 lines
443 B
Plaintext
Raw Normal View History

set WshShell = WScript.CreateObject("WScript.Shell")
set oShortCutLink = WshShell.CreateShortcut("C:\Users\Public\Desktop\BuildLog.lnk")
oShortCutLink.TargetPath = "c:\BuildLog.txt"
oShortCutLink.Save
set oShortCutLink = WshShell.CreateShortcut("C:\Users\Public\Desktop\View Setup.lnk")
oShortCutLink.TargetPath = "%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe"
oShortCutLink.Arguments = " c:\ViewSetup.ps1"
oShortCutLink.Save