Commit 37ebc1db authored by Frank Denis's avatar Frank Denis

Replace @NET session with @SFC 2>&1 | FIND /i "/SCANNOW" >NUL

Fixes #336
parent fbfa8f9a
@NET session
@SFC 2>&1 | FIND /i "/SCANNOW" >NUL
@IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
@GOTO ADMINTASKS
......
@NET session
@SFC 2>&1 | FIND /i "/SCANNOW" >NUL
@IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
@GOTO ADMINTASKS
......
@NET session
@SFC 2>&1 | FIND /i "/SCANNOW" >NUL
@IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
@GOTO ADMINTASKS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment