1 Star 0 Fork 0

badiku/vmwareUnlocker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
win-update-tools.cmd 617 Bytes
一键复制 编辑 原始数据 按行查看 历史
@echo off
setlocal ENABLEEXTENSIONS
echo Get macOS VMware Tools 3.0.2
echo ===============================
echo (c) Dave Parsons 2011-18
net session >NUL 2>&1
if %errorlevel% neq 0 (
echo Administrator privileges required!
exit
)
pushd %~dp0
set KeyName="HKLM\SOFTWARE\Wow6432Node\VMware, Inc.\VMware Workstation"
:: delims is a TAB followed by a space
for /F "tokens=2* delims= " %%A in ('REG QUERY %KeyName% /v InstallPath') do set InstallPath=%%B
echo VMware is installed at: %InstallPath%
echo Getting VMware Tools...
gettools.exe
xcopy /F /Y .\tools\darwin*.* "%InstallPath%"
popd
echo Finished!
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/badiku/vmwareUnlocker.git
git@gitee.com:badiku/vmwareUnlocker.git
badiku
vmwareUnlocker
vmwareUnlocker
master

搜索帮助