Skip to content

Instantly share code, notes, and snippets.

@mike-zhang
Created December 11, 2012 03:26
Show Gist options
  • Save mike-zhang/4255695 to your computer and use it in GitHub Desktop.
Save mike-zhang/4255695 to your computer and use it in GitHub Desktop.

Revisions

  1. mike-zhang revised this gist Dec 16, 2012. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions vboxShell
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,17 @@
    启动:
    VBoxManage startvm CentOS6.3_64 -type vrdp

    vbs代码:
    Set ws = CreateObject("Wscript.Shell")
    ws.run "cmd /c VBoxManage startvm CentOS6.3_64 -type vrdp",vbhide


    休眠:
    VBoxManage controlvm CentOS6.3_64 savestate

    vbs代码:
    Set ws = CreateObject("Wscript.Shell")
    ws.run "cmd /c VBoxManage controlvm CentOS6.3_64 savestate",vbhide



  2. MikeZhang created this gist Dec 11, 2012.
    5 changes: 5 additions & 0 deletions vboxShell
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    启动:
    VBoxManage startvm CentOS6.3_64 -type vrdp

    休眠:
    VBoxManage controlvm CentOS6.3_64 savestate