diff options
| author | WindowsAddict <[email protected]> | 2025-05-18 02:41:47 +0530 |
|---|---|---|
| committer | WindowsAddict <[email protected]> | 2025-05-18 02:41:47 +0530 |
| commit | 691e6088d516f25b61cd3de0362668de3be5199b (patch) | |
| tree | a109e77eadd7812e4391bdfc10c22286a050d8ab /MAS/All-In-One-Version-KL | |
| parent | 74b7c74218f8f0f4fd87b2a71b985ed604fb380e (diff) | |
| download | Microsoft-Activation-Scripts-691e6088d516f25b61cd3de0362668de3be5199b.zip | |
Use user temp folder or random name in Windows/Temp
Diffstat (limited to 'MAS/All-In-One-Version-KL')
| -rw-r--r-- | MAS/All-In-One-Version-KL/MAS_AIO.cmd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MAS/All-In-One-Version-KL/MAS_AIO.cmd b/MAS/All-In-One-Version-KL/MAS_AIO.cmd index c683783..ca13cef 100644 --- a/MAS/All-In-One-Version-KL/MAS_AIO.cmd +++ b/MAS/All-In-One-Version-KL/MAS_AIO.cmd @@ -1286,9 +1286,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%
@@ -16315,7 +16315,7 @@ goto :at_menu :: https://stackoverflow.com/a/46268232
-set "ddf="%SystemRoot%\Temp\ddf""
+set "ddf="%SystemRoot%\Temp\%Random%%Random%%Random%%Random%""
%nul% del /q /f %ddf%
echo/.New Cabinet>%ddf%
echo/.set Cabinet=ON>>%ddf%
|
