mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-11-13 04:56:55 +03:00
Replace @NET session with @SFC 2>&1 | FIND /i "/SCANNOW" >NUL
Fixes #336
This commit is contained in:
parent
fbfa8f9aab
commit
37ebc1db0e
@ -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…
Reference in New Issue
Block a user