mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2026-10-14 06:36:13 -08:00
Use user temp folder or random name in Windows/Temp
This commit is contained in:
1 parent
74b7c74218
commit
691e6088d5
6 files changed
+15
-15
No files matched your search
@@ -795,7 +795,7 @@ exit /b
|
||||
|
||||
:: 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%
|
||||
|
||||
Reference in new issue
Block a user