Created
December 20, 2013 02:39
-
-
Save jcasts/8049707 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Start The Script | |
Dim SetWshNetwork | |
Set WshNetwork = WScript.CreateObject("WScript.Network") | |
Set wsc = WScript.CreateObject("WScript.Shell") | |
Set lnk = wsc.CreateShortcut(wsc.SpecialFolders("desktop") & "\Go-Global.LNK") | |
'Commands | |
lnk.targetpath = "C:\Program Files (x86)\GraphOn\GO-Global\Client\gg-client.exe" | |
lnk.arguments = "-h hosted.logoscms.com -c -u " & WshNetwork.UserName & " -p Password" | |
lnk.description = "DB Access" | |
lnk.workingdirectory = "C:\Program Files (x86)\GraphOn\GO-Global\Client" | |
lnk.save | |
'End Script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That works Thanks!