mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-11-10 01:44:48 +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
|
||||
@GOTO ADMINTASKS
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
@NET session
|
||||
@SFC 2>&1 | FIND /i "/SCANNOW" >NUL
|
||||
@IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
|
||||
@GOTO ADMINTASKS
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
@NET session
|
||||
@SFC 2>&1 | FIND /i "/SCANNOW" >NUL
|
||||
@IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
|
||||
@GOTO ADMINTASKS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user