mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-04 13:47:39 +03:00
Replace @NET session with @SFC 2>&1 | FIND /i "/SCANNOW" >NUL
Fixes #336
This commit is contained in:
parent
fbfa8f9aab
commit
37ebc1db0e
3 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
@NET session
|
@SFC 2>&1 | FIND /i "/SCANNOW" >NUL
|
||||||
@IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
|
@IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
|
||||||
@GOTO ADMINTASKS
|
@GOTO ADMINTASKS
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@NET session
|
@SFC 2>&1 | FIND /i "/SCANNOW" >NUL
|
||||||
@IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
|
@IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
|
||||||
@GOTO ADMINTASKS
|
@GOTO ADMINTASKS
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@NET session
|
@SFC 2>&1 | FIND /i "/SCANNOW" >NUL
|
||||||
@IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
|
@IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
|
||||||
@GOTO ADMINTASKS
|
@GOTO ADMINTASKS
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue