当前位置: IT大杂烩 > Ubuntu  > vmware的后台启动

vmware的后台启动

www.someabcd.com  网友分享于:Jun 8, 2018 6:00:41 PM

标签:

vmware界面启动呢,消耗很大的资源,相信后台启动是大家喜欢的方式,简单介绍以下几种常用的命令如下:

打开dos窗口,执行以下命令:

进入虚拟机安装目录:cd C:\Program Files (x86)\VMware\VMware Workstation
启动:vmrun -T ws start "C:\ubuntu/Ubuntu.vmx" nogui

[说明:C:\ubuntu/Ubuntu.vmx 就是你在虚拟机中创建好的ubuntu系统,以下同样]
查看是否启动成功:tasklist|findstr vmware
[说明:这个就是 unix系统的中ps -ef|grep "vmware"]

正常关机:vmrun stop "C:\ubuntu/Ubuntu.vmx" soft
强制关机:vmrun stop "C:\ubuntu/Ubuntu.vmx" hard
挂起休眠:vmrun suspend  "C:\ubuntu/Ubuntu.vmx" hard | soft

列出正在运行的虚拟机:vmrun list

以上是使我们常用到的操作,但是每次都输入肯定比较麻烦,写一个bat脚本,方便很多,贴出来如下: 

    1. ::start vmware   
    2.   
    3. @echo s:start vmware p:stop vmware  
    4. @set /p select=输入:  
    5. @if "%select%" == "s" goto start  
    6. @if "%select%" == "p" goto stop  
    7.   
    8. :stop  
    9.     cd C:\Program Files (x86)\VMware\VMware Workstation  
    10.     vmrun stop "C:\ubuntu/Ubuntu.vmx" hard  
    11.     @echo stop succeed!  
    12.     pause  
    13.     exit  
    14. :start  
    15.     cd C:\Program Files (x86)\VMware\VMware Workstation  
    16.     vmrun list  
    17.     vmrun -T ws start "C:\ubuntu/Ubuntu.vmx" nogui  
    18.     tasklist|findstr vmware  
    19.     @echo start succeed!  
    20.     pause  
    21.     exit 
    22. http://bbs.taobao.com/catalog/thread/10395529-309806640.htm
      http://bbs.taobao.com/catalog/thread/10395529-309804654.htm
      http://bbs.taobao.com/catalog/thread/10395529-309800420.htm
      http://bbs.taobao.com/catalog/thread/10395529-309803272.htm
      http://bbs.taobao.com/catalog/thread/10395529-309798494.htm
      http://bbs.taobao.com/catalog/thread/10395529-309808115.htm
      http://bbs.taobao.com/catalog/thread/10395529-309807643.htm
      http://bbs.taobao.com/catalog/thread/10395529-309804372.htm
      http://bbs.taobao.com/catalog/thread/10395529-309807610.htm
      http://bbs.taobao.com/catalog/thread/10395529-309802896.htm
      http://bbs.taobao.com/catalog/thread/10395529-309804332.htm
      http://bbs.taobao.com/catalog/thread/10395529-309809032.htm
      http://bbs.taobao.com/catalog/thread/10395529-309793499.htm
      http://bbs.taobao.com/catalog/thread/10395529-309803148.htm
      http://bbs.taobao.com/catalog/thread/10395529-309799782.htm
      http://bbs.taobao.com/catalog/thread/10395529-309794481.htm
      http://bbs.taobao.com/catalog/thread/10395529-309803135.htm
      http://bbs.taobao.com/catalog/thread/10395529-309797379.htm
      http://bbs.taobao.com/catalog/thread/10395529-309803121.htm
      http://bbs.taobao.com/catalog/thread/10395529-309799749.htm
      http://bbs.taobao.com/catalog/thread/10395529-309800249.htm
      http://bbs.taobao.com/catalog/thread/10395529-309805057.htm
      http://bbs.taobao.com/catalog/thread/10395529-309800938.htm
      http://bbs.taobao.com/catalog/thread/10395529-309804106.htm
      http://bbs.taobao.com/catalog/thread/10395529-309802641.htm
      http://bbs.taobao.com/catalog/thread/10395529-309801851.htm
      http://bbs.taobao.com/catalog/thread/10395529-309799655.htm
      http://bbs.taobao.com/catalog/thread/10395529-309798231.htm
      http://bbs.taobao.com/catalog/thread/10395529-309797224.htm
      http://bbs.taobao.com/catalog/thread/10395529-309800123.htm
      http://bbs.taobao.com/catalog/thread/10395529-309800108.htm
      http://bbs.taobao.com/catalog/thread/10395529-309797208.htm
      http://bbs.taobao.com/catalog/thread/10395529-309799616.htm
      http://bbs.taobao.com/catalog/thread/10395529-309794303.htm
      http://bbs.taobao.com/catalog/thread/10395529-309798187.htm
      http://bbs.taobao.com/catalog/thread/10395529-309793814.htm
      http://bbs.taobao.com/catalog/thread/10395529-309797162.htm
      http://bbs.taobao.com/catalog/thread/10395529-309798146.htm
      http://bbs.taobao.com/catalog/thread/10395529-309793265.htm
      http://bbs.taobao.com/catalog/thread/10395529-309793773.htm
      http://bbs.taobao.com/catalog/thread/10395529-309800017.htm
      http://bbs.taobao.com/catalog/thread/10395529-309799536.htm
      http://bbs.taobao.com/catalog/thread/10395529-309796402.htm
      http://bbs.taobao.com/catalog/thread/10395529-309800636.htm
      http://bbs.taobao.com/catalog/thread/10395529-309798090.htm
      http://bbs.taobao.com/catalog/thread/10395529-309798090.htm
      http://bbs.taobao.com/catalog/thread/10395529-309775382.htm
      http://bbs.taobao.com/catalog/thread/10395529-309775396.htm
      http://bbs.taobao.com/catalog/thread/10395529-309780222.htm
      http://bbs.taobao.com/catalog/thread/10395529-309780831.htm
      http://bbs.taobao.com/catalog/thread/10395529-309780899.htm
      http://bbs.taobao.com/catalog/thread/10395529-309782925.htm
      http://bbs.taobao.com/catalog/thread/10395529-309783403.htm
      http://bbs.taobao.com/catalog/thread/10395529-309783412.htm
      http://bbs.taobao.com/catalog/thread/10395529-309783943.htm
      http://bbs.taobao.com/catalog/thread/10395529-309784715.htm
      http://bbs.taobao.com/catalog/thread/10395529-309786079.htm
      http://bbs.taobao.com/catalog/thread/10395529-309786402.htm
      http://bbs.taobao.com/catalog/thread/10395529-309786494.htm
      http://bbs.taobao.com/catalog/thread/10395529-309787101.htm
      http://bbs.taobao.com/catalog/thread/10395529-309787449.htm
      http://bbs.taobao.com/catalog/thread/10395529-309787558.htm
      http://bbs.taobao.com/catalog/thread/10395529-309788454.htm
      http://bbs.taobao.com/catalog/thread/10395529-309788892.htm
      http://bbs.taobao.com/catalog/thread/10395529-309789191.htm
      http://bbs.taobao.com/catalog/thread/10395529-309789191.htm
      http://bbs.taobao.com/catalog/thread/10395529-309789379.htm
      http://bbs.taobao.com/catalog/thread/10395529-309789587.htm
      http://bbs.taobao.com/catalog/thread/10395529-309789973.htm
      http://bbs.taobao.com/catalog/thread/10395529-309790106.htm
      http://bbs.taobao.com/catalog/thread/10395529-309790118.htm
      http://bbs.taobao.com/catalog/thread/10395529-309790817.htm
      http://bbs.taobao.com/catalog/thread/10395529-309790947.htm
      http://bbs.taobao.com/catalog/thread/10395529-309791284.htm
      http://bbs.taobao.com/catalog/thread/10395529-309791750.htm
      http://bbs.taobao.com/catalog/thread/10395529-309791776.htm
      http://bbs.taobao.com/catalog/thread/10395529-309791805.htm
      http://bbs.taobao.com/catalog/thread/10395529-309792000.htm
      http://bbs.taobao.com/catalog/thread/10395529-309792488.htm
      http://bbs.taobao.com/catalog/thread/10395529-309792526.htm
      http://bbs.taobao.com/catalog/thread/10395529-309793165.htm
      http://bbs.taobao.com/catalog/thread/10395529-309793553.htm
      http://bbs.taobao.com/catalog/thread/10395529-309793559.htm
      http://bbs.taobao.com/catalog/thread/10395529-309793645.htm
      http://bbs.taobao.com/catalog/thread/10395529-309793701.htm
      http://bbs.taobao.com/catalog/thread/10395529-309793712.htm
      http://bbs.taobao.com/catalog/thread/10395529-309794167.htm
      http://bbs.taobao.com/catalog/thread/10395529-309794176.htm
      http://bbs.taobao.com/catalog/thread/10395529-309795108.htm
      http://bbs.taobao.com/catalog/thread/10395529-309795348.htm
      http://bbs.taobao.com/catalog/thread/10395529-309795807.htm
      http://bbs.taobao.com/catalog/thread/10395529-309796043.htm
      http://bbs.taobao.com/catalog/thread/10395529-309796043.htm
      http://bbs.taobao.com/catalog/thread/10395529-309796059.htm
      http://bbs.taobao.com/catalog/thread/10395529-309796570.htm
      http://bbs.taobao.com/catalog/thread/10395529-309796685.htm
      http://bbs.taobao.com/catalog/thread/10395529-309797034.htm
      http://bbs.taobao.com/catalog/thread/10395529-309797542.htm
      http://bbs.taobao.com/catalog/thread/10395529-309798015.htm
      http://bbs.taobao.com/catalog/thread/10395529-309798518.htm
      http://bbs.taobao.com/catalog/thread/10395529-309882863.htm
      http://bbs.taobao.com/catalog/thread/10395529-309883452.htm
      http://bbs.taobao.com/catalog/thread/10395529-309886258.htm
      http://bbs.taobao.com/catalog/thread/10395529-309886359.htm
      http://bbs.taobao.com/catalog/thread/10395529-309886371.htm
      http://bbs.taobao.com/catalog/thread/10395529-309886866.htm
      http://bbs.taobao.com/catalog/thread/10395529-309886997.htm
      http://bbs.taobao.com/catalog/thread/10395529-309887283.htm
      http://bbs.taobao.com/catalog/thread/10395529-309887441.htm
      http://bbs.taobao.com/catalog/thread/10395529-309887850.htm
      http://bbs.taobao.com/catalog/thread/10395529-309888153.htm
      http://bbs.taobao.com/catalog/thread/10395529-309888471.htm
      http://bbs.taobao.com/catalog/thread/10395529-309888479.htm
      http://bbs.taobao.com/catalog/thread/10395529-309888731.htm
      http://bbs.taobao.com/catalog/thread/10395529-309889048.htm
      http://bbs.taobao.com/catalog/thread/10395529-309889126.htm
      http://bbs.taobao.com/catalog/thread/10395529-309889145.htm
      http://bbs.taobao.com/catalog/thread/10395529-309889150.htm
      http://bbs.taobao.com/catalog/thread/10395529-309889394.htm
      http://bbs.taobao.com/catalog/thread/10395529-309889702.htm
      http://bbs.taobao.com/catalog/thread/10395529-309889798.htm
      http://bbs.taobao.com/catalog/thread/10395529-309889954.htm
      http://bbs.taobao.com/catalog/thread/10395529-309889960.htm
      http://bbs.taobao.com/catalog/thread/10395529-309889972.htm
      http://bbs.taobao.com/catalog/thread/10395529-309890165.htm
      http://bbs.taobao.com/catalog/thread/10395529-309890193.htm
      http://bbs.taobao.com/catalog/thread/10395529-309890295.htm
      http://bbs.taobao.com/catalog/thread/10395529-309890639.htm
      http://bbs.taobao.com/catalog/thread/10395529-309890780.htm
      http://bbs.taobao.com/catalog/thread/10395529-309890844.htm
      http://bbs.taobao.com/catalog/thread/10395529-309890847.htm
      http://bbs.taobao.com/catalog/thread/10395529-309891387.htm
      http://bbs.taobao.com/catalog/thread/10395529-309891462.htm
      http://bbs.taobao.com/catalog/thread/10395529-309891473.htm
      http://bbs.taobao.com/catalog/thread/10395529-309891751.htm
      http://bbs.taobao.com/catalog/thread/10395529-309891781.htm
      http://bbs.taobao.com/catalog/thread/10395529-309892155.htm
      http://bbs.taobao.com/catalog/thread/10395529-309892430.htm
      http://bbs.taobao.com/catalog/thread/10395529-309892484.htm
      http://bbs.taobao.com/catalog/thread/10395529-309892539.htm
      http://bbs.taobao.com/catalog/thread/10395529-309892603.htm
      http://bbs.taobao.com/catalog/thread/10395529-309892650.htm
      http://bbs.taobao.com/catalog/thread/10395529-309892695.htm
      http://bbs.taobao.com/catalog/thread/10395529-309892699.htm
      http://bbs.taobao.com/catalog/thread/10395529-309893124.htm
      http://bbs.taobao.com/catalog/thread/10395529-309893185.htm
      http://bbs.taobao.com/catalog/thread/10395529-309893214.htm
      http://bbs.taobao.com/catalog/thread/10395529-309893251.htm
      http://bbs.taobao.com/catalog/thread/10395529-309893785.htm
      http://bbs.taobao.com/catalog/thread/10395529-309893808.htm
      http://bbs.taobao.com/catalog/thread/10395529-309893932.htm
      http://bbs.taobao.com/catalog/thread/10395529-309893966.htm
      http://bbs.taobao.com/catalog/thread/10395529-309893975.htm
      http://bbs.taobao.com/catalog/thread/10395529-309894208.htm
      http://bbs.taobao.com/catalog/thread/10395529-309894241.htm
      http://bbs.taobao.com/catalog/thread/10395529-309894249.htm
      http://bbs.taobao.com/catalog/thread/10395529-309894266.htm
      http://bbs.taobao.com/catalog/thread/10395529-309894325.htm
      http://bbs.taobao.com/catalog/thread/10395529-309894407.htm
      http://bbs.taobao.com/catalog/thread/10395529-309894416.htm
      http://bbs.taobao.com/catalog/thread/10395529-309894470.htm
      http://bbs.taobao.com/catalog/thread/10395529-309894496.htm
      http://bbs.taobao.com/catalog/thread/10395529-309894502.htm
      http://bbs.taobao.com/catalog/thread/10395529-309894583.htm
      http://bbs.taobao.com/catalog/thread/10395529-309895510.htm
      http://bbs.taobao.com/catalog/thread/10395529-309895536.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896089.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896092.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896095.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896110.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896237.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896519.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896576.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896584.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896704.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896709.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896729.htm
      http://bbs.taobao.com/catalog/thread/10395529-309896790.htm
      http://bbs.taobao.com/catalog/thread/10395529-309897042.htm
      http://bbs.taobao.com/catalog/thread/10395529-309897102.htm
      http://bbs.taobao.com/catalog/thread/10395529-309897108.htm
      http://bbs.taobao.com/catalog/thread/10395529-309897140.htm
      http://bbs.taobao.com/catalog/thread/10395529-309898574.htm
      http://bbs.taobao.com/catalog/thread/10395529-309898578.htm
      http://bbs.taobao.com/catalog/thread/10395529-309898587.htm
      http://bbs.taobao.com/catalog/thread/10395529-309898637.htm
      http://bbs.taobao.com/catalog/thread/10395529-309898641.htm
      http://bbs.taobao.com/catalog/thread/10395529-309898662.htm
      http://bbs.taobao.com/catalog/thread/10395529-309898670.htm
      http://bbs.taobao.com/catalog/thread/10395529-309898715.htm
      http://bbs.taobao.com/catalog/thread/10395529-309898720.htm
      http://bbs.taobao.com/catalog/thread/10395529-309899106.htm
      http://bbs.taobao.com/catalog/thread/10395529-309899547.htm
      http://bbs.taobao.com/catalog/thread/10395529-309899665.htm
      http://bbs.taobao.com/catalog/thread/10395529-309899677.htm
      http://bbs.taobao.com/catalog/thread/10395529-309899684.htm
      http://bbs.taobao.com/catalog/thread/10395529-309901585.htm
      http://bbs.taobao.com/catalog/thread/10395529-309901592.htm
      http://bbs.taobao.com/catalog/thread/10395529-309901613.htm
      http://bbs.taobao.com/catalog/thread/10395529-309903974.htm
      http://bbs.taobao.com/catalog/thread/10395529-309903989.htm
      http://bbs.taobao.com/catalog/thread/10395529-309904448.htm
      http://bbs.taobao.com/catalog/thread/10395529-309906450.htm
      http://bbs.taobao.com/catalog/thread/10395529-309906461.htm
      http://bbs.taobao.com/catalog/thread/10395529-309906468.htm
      http://bbs.taobao.com/catalog/thread/10395529-309906764.htm
      http://bbs.taobao.com/catalog/thread/10395529-309906832.htm
      http://bbs.taobao.com/catalog/thread/10395529-309908008.htm
      http://bbs.taobao.com/catalog/thread/10395529-309908791.htm
      http://bbs.taobao.com/catalog/thread/10395529-309908829.htm
      http://bbs.taobao.com/catalog/thread/10395529-309909218.htm
      http://bbs.taobao.com/catalog/thread/10395529-309909363.htm
      http://bbs.taobao.com/catalog/thread/10395529-309909453.htm
      http://bbs.taobao.com/catalog/thread/10395529-309909459.htm
      http://bbs.taobao.com/catalog/thread/10395529-309909472.htm
      http://bbs.taobao.com/catalog/thread/10395529-309909700.htm
      http://bbs.taobao.com/catalog/thread/10395529-309909710.htm
      http://bbs.taobao.com/catalog/thread/10395529-309909750.htm
      http://bbs.taobao.com/catalog/thread/10395529-309910342.htm
      http://bbs.taobao.com/catalog/thread/10395529-309910433.htm
      http://bbs.taobao.com/catalog/thread/10395529-309910667.htm
      http://bbs.taobao.com/catalog/thread/10395529-309910687.htm
      http://bbs.taobao.com/catalog/thread/10395529-309910811.htm
      http://bbs.taobao.com/catalog/thread/10395529-309910888.htm
      http://bbs.taobao.com/catalog/thread/10395529-309911140.htm
      http://bbs.taobao.com/catalog/thread/10395529-309911321.htm
      http://bbs.taobao.com/catalog/thread/10395529-309911559.htm
      http://bbs.taobao.com/catalog/thread/10395529-309911581.htm
      http://bbs.taobao.com/catalog/thread/10395529-309911606.htm
      http://bbs.taobao.com/catalog/thread/10395529-309911624.htm
      http://bbs.taobao.com/catalog/thread/10395529-309911914.htm
      http://bbs.taobao.com/catalog/thread/10395529-309911940.htm
      http://bbs.taobao.com/catalog/thread/10395529-309911957.htm
      http://bbs.taobao.com/catalog/thread/10395529-309912070.htm
      http://bbs.taobao.com/catalog/thread/10395529-309912190.htm
      http://bbs.taobao.com/catalog/thread/10395529-309912277.htm
      http://bbs.taobao.com/catalog/thread/10395529-309912302.htm
      http://bbs.taobao.com/catalog/thread/10395529-309912326.htm
      http://bbs.taobao.com/catalog/thread/10395529-309912562.htm
      http://bbs.taobao.com/catalog/thread/10395529-309912648.htm
      http://bbs.taobao.com/catalog/thread/10395529-309912754.htm
      http://bbs.taobao.com/catalog/thread/10395529-309912876.htm
      http://bbs.taobao.com/catalog/thread/10395529-309912889.htm
      http://bbs.taobao.com/catalog/thread/10395529-309912912.htm
      http://bbs.taobao.com/catalog/thread/10395529-309913080.htm
      http://bbs.taobao.com/catalog/thread/10395529-309913267.htm
      http://bbs.taobao.com/catalog/thread/10395529-309913433.htm
      http://bbs.taobao.com/catalog/thread/10395529-309913828.htm
      http://bbs.taobao.com/catalog/thread/10395529-309914415.htm
      http://bbs.taobao.com/catalog/thread/10395529-309914419.htm
      http://bbs.taobao.com/catalog/thread/10395529-309914549.htm
      http://bbs.taobao.com/catalog/thread/10395529-309914699.htm
      http://bbs.taobao.com/catalog/thread/10395529-309914752.htm
      http://bbs.taobao.com/catalog/thread/10395529-309914785.htm
      http://bbs.taobao.com/catalog/thread/10395529-309914921.htm
      http://bbs.taobao.com/catalog/thread/10395529-309915122.htm
      http://bbs.taobao.com/catalog/thread/10395529-309915169.htm
      http://bbs.taobao.com/catalog/thread/10395529-309915182.htm
      http://bbs.taobao.com/catalog/thread/10395529-309915650.htm
      http://bbs.taobao.com/catalog/thread/10395529-309915666.htm
      http://bbs.taobao.com/catalog/thread/10395529-309915723.htm
      http://bbs.taobao.com/catalog/thread/10395529-309915790.htm
      http://bbs.taobao.com/catalog/thread/10395529-309916074.htm
      http://bbs.taobao.com/catalog/thread/10395529-309916134.htm
      http://bbs.taobao.com/catalog/thread/10395529-309916229.htm
      http://bbs.taobao.com/catalog/thread/10395529-309916304.htm
      http://bbs.taobao.com/catalog/thread/10395529-309916579.htm
      http://bbs.taobao.com/catalog/thread/10395529-309916607.htm
      http://bbs.taobao.com/catalog/thread/10395529-309916669.htm
      http://bbs.taobao.com/catalog/thread/10395529-309917440.htm
      http://bbs.taobao.com/catalog/thread/10395529-309917476.htm
      http://bbs.taobao.com/catalog/thread/10395529-309917608.htm
      http://bbs.taobao.com/catalog/thread/10395529-309917652.htm
      http://bbs.taobao.com/catalog/thread/10395529-309917703.htm
      http://bbs.taobao.com/catalog/thread/10395529-309917768.htm
      http://bbs.taobao.com/catalog/thread/10395529-309918083.htm
      http://bbs.taobao.com/catalog/thread/10395529-309918440.htm
      http://bbs.taobao.com/catalog/thread/10395529-309918569.htm
      http://bbs.taobao.com/catalog/thread/10395529-309918900.htm
      http://bbs.taobao.com/catalog/thread/10395529-309919127.htm
      http://bbs.taobao.com/catalog/thread/10395529-309919129.htm
      http://bbs.taobao.com/catalog/thread/10395529-309919135.htm
      http://bbs.taobao.com/catalog/thread/10395529-309919146.htm
      http://bbs.taobao.com/catalog/thread/10395529-309919158.htm
      http://bbs.taobao.com/catalog/thread/10395529-309919535.htm
      http://bbs.taobao.com/catalog/thread/10395529-309919649.htm
      http://bbs.taobao.com/catalog/thread/10395529-309919661.htm
      http://bbs.taobao.com/catalog/thread/10395529-309919663.htm
      http://bbs.taobao.com/catalog/thread/10395529-309920052.htm
      http://bbs.taobao.com/catalog/thread/10395529-309920116.htm
      http://bbs.taobao.com/catalog/thread/10395529-309920744.htm
      http://bbs.taobao.com/catalog/thread/10395529-309921167.htm
      http://bbs.taobao.com/catalog/thread/10395529-309921662.htm
      http://bbs.taobao.com/catalog/thread/10395529-309922159.htm
      http://bbs.taobao.com/catalog/thread/10395529-309922575.htm
      http://bbs.taobao.com/catalog/thread/10395529-309923110.htm

vmware的后台启动

标签:

发布此文章仅为传递网友分享,不代表本站观点,若侵权请联系我们删除,本站将不对此承担任何责任。
Copyright ©2018  IT大杂烩  版权所有  京ICP备11030978号-1 网站地图