Use user temp folder or random name in Windows/Temp
This commit is contained in:
@ -1701,9 +1701,9 @@ if %_wmic% EQU 0 set "chkapp=for /f "tokens=2 delims==" %%a in ('%psc% "(([WMISE
|
||||
|
||||
if defined allapps if %1==0ff1ce15-a989-479d-af46-f275c6370663 (
|
||||
set len=0
|
||||
echo:!allapps!> %SystemRoot%\Temp\chklen
|
||||
for %%A in (%SystemRoot%\Temp\chklen) do (set len=%%~zA)
|
||||
del %SystemRoot%\Temp\chklen %nul%
|
||||
echo:!allapps!> "!_ttemp!\chklen"
|
||||
for %%A in ("!_ttemp!\chklen") do (set len=%%~zA)
|
||||
del "!_ttemp!\chklen" %nul%
|
||||
|
||||
if !len! GTR 6000 (
|
||||
%eline%
|
||||
|
@ -2675,9 +2675,9 @@ if %_wmic% EQU 0 set "chkapp=for /f "tokens=2 delims==" %%a in ('%psc% "(([WMISE
|
||||
|
||||
if defined allapps if %1==0ff1ce15-a989-479d-af46-f275c6370663 (
|
||||
set len=0
|
||||
echo:!allapps!> %SystemRoot%\Temp\chklen
|
||||
for %%A in (%SystemRoot%\Temp\chklen) do (set len=%%~zA)
|
||||
del %SystemRoot%\Temp\chklen %nul%
|
||||
echo:!allapps!> "!_ttemp!\chklen"
|
||||
for %%A in ("!_ttemp!\chklen") do (set len=%%~zA)
|
||||
del "!_ttemp!\chklen" %nul%
|
||||
|
||||
if !len! GTR 6000 (
|
||||
%eline%
|
||||
|
@ -2335,9 +2335,9 @@ if %_wmic% EQU 0 set "chkapp=for /f "tokens=2 delims==" %%a in ('%psc% "(([WMISE
|
||||
|
||||
if defined allapps if %1==0ff1ce15-a989-479d-af46-f275c6370663 (
|
||||
set len=0
|
||||
echo:!allapps!> %SystemRoot%\Temp\chklen
|
||||
for %%A in (%SystemRoot%\Temp\chklen) do (set len=%%~zA)
|
||||
del %SystemRoot%\Temp\chklen %nul%
|
||||
echo:!allapps!> "!_ttemp!\chklen"
|
||||
for %%A in ("!_ttemp!\chklen") do (set len=%%~zA)
|
||||
del "!_ttemp!\chklen" %nul%
|
||||
|
||||
if !len! GTR 6000 (
|
||||
%eline%
|
||||
|
Reference in New Issue
Block a user