Update any-desk-reset-trial.bat
This commit is contained in:
@@ -71,7 +71,9 @@ pause
|
|||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
:got_id
|
:got_id
|
||||||
echo [*] New ID obtained. Stopping AnyDesk to restore user settings...
|
for /f "tokens=2 delims==" %%A in ('findstr /C:"ad.anynet.id=" "%PD%\system.conf"') do set "NEWID=%%A"
|
||||||
|
echo [*] New ID obtained: %NEWID%
|
||||||
|
echo [*] Stopping AnyDesk to restore user settings...
|
||||||
call :stop_any
|
call :stop_any
|
||||||
|
|
||||||
echo [*] Restoring user.conf and thumbnails...
|
echo [*] Restoring user.conf and thumbnails...
|
||||||
@@ -87,7 +89,6 @@ if exist "%temp%\ad_thumbnails" (
|
|||||||
echo [*] Starting AnyDesk...
|
echo [*] Starting AnyDesk...
|
||||||
call :start_any
|
call :start_any
|
||||||
|
|
||||||
for /f "tokens=2 delims==" %%A in ('findstr /C:"ad.anynet.id=" "%PD%\system.conf"') do set "NEWID=%%A"
|
|
||||||
echo.
|
echo.
|
||||||
echo ============================================================
|
echo ============================================================
|
||||||
echo Script is finished. You can continue using AnyDesk.
|
echo Script is finished. You can continue using AnyDesk.
|
||||||
|
|||||||
Reference in New Issue
Block a user