|
|
@ -1540,7 +1540,7 @@ set t_name=Run Once Task |
|
|
|
|
|
|
|
|
|
|
|
set _wmic=0 |
|
|
|
set _wmic=0 |
|
|
|
for %%# in (wmic.exe) do @if not "%%~$PATH:#"=="" ( |
|
|
|
for %%# in (wmic.exe) do @if not "%%~$PATH:#"=="" ( |
|
|
|
wmic path Win32_ComputerSystem get CreationClassName /value 2>nul | find /i "computersystem" 1>nul && set _wmic=1 |
|
|
|
cmd /c "wmic path Win32_ComputerSystem get CreationClassName /value" 2>nul | find /i "computersystem" 1>nul && set _wmic=1 |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
setlocal EnableDelayedExpansion |
|
|
|
setlocal EnableDelayedExpansion |
|
|
@ -2446,7 +2446,7 @@ function ReinstallLicenses() { |
|
|
|
|
|
|
|
|
|
|
|
set _wmic=0 |
|
|
|
set _wmic=0 |
|
|
|
for %%# in (wmic.exe) do @if not "%%~$PATH:#"=="" ( |
|
|
|
for %%# in (wmic.exe) do @if not "%%~$PATH:#"=="" ( |
|
|
|
wmic path Win32_ComputerSystem get CreationClassName /value %nul2% | find /i "computersystem" %nul1% && set _wmic=1 |
|
|
|
cmd /c "wmic path Win32_ComputerSystem get CreationClassName /value" %nul2% | find /i "computersystem" %nul1% && set _wmic=1 |
|
|
|
) |
|
|
|
) |
|
|
|
exit /b |
|
|
|
exit /b |
|
|
|
|
|
|
|
|
|
|
|