Skip to content

Instantly share code, notes, and snippets.

@wormeyman
Forked from jcasts/gist:8049707
Last active December 31, 2015 21:49
Show Gist options
  • Select an option

  • Save wormeyman/8049786 to your computer and use it in GitHub Desktop.

Select an option

Save wormeyman/8049786 to your computer and use it in GitHub Desktop.

Revisions

  1. wormeyman revised this gist Oct 20, 2015. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions Go_Global_x32.vbs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    '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\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\GraphOn\GO-Global\Client"
    lnk.save
    'End Script
  2. wormeyman revised this gist Oct 20, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Go_Global_x64.vbs
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,6 @@ Set lnk = wsc.CreateShortcut(wsc.SpecialFolders("desktop") & "\Go-Global.LNK")
    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.workingdirectory = "C:\Program Files (x86)\GraphOn\GO-Global\Client"
    lnk.save
    'End Script
    'End Script
  3. wormeyman renamed this gist Feb 26, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. wormeyman renamed this gist Feb 26, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. @yaks yaks created this gist Dec 20, 2013.
    12 changes: 12 additions & 0 deletions gistfile1.vb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    '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