1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > Visual studio 番茄助手过期解决方案

Visual studio 番茄助手过期解决方案

时间:2022-04-11 13:01:08

相关推荐

Visual studio 番茄助手过期解决方案

Visual studio 番茄助手VAX过期解决方案

复制如下内容到resetVAX.bat文件里,然后在cmd终端上执行这个文件

@echo off

set tempfile="%temp%\1489AFE4.TMP"

set regkey=HKEY_CURRENT_USER\SOFTWARE\Licenses

set has_error=0

tasklist | find /I "devenv.exe" > NUL

if %errorlevel% == 0 (

echo Please close Visual Studio and try again.

exit /B 1

)

echo.

echo Resetting Visual Assist X trial period

echo Deleting registry key %regkey% ...

reg delete %regkey% /f

if %errorlevel% == 1 (

echo Registry key was not deleted.

set has_error=1

)

echo.

echo Deleting temporary file %tempfile% ...

del %tempfile%>NUL

echo.

if %has_error% == 0 (

echo Done. Visual Assist X should have forgotten about your trial period now.

) else (

echo Done. However, maybe not everything worked out right.

)

exit /B %has_error%

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。