mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-05-22 19:34:55 +00:00
Use user temp folder or random name in Windows/Temp
This commit is contained in:
parent
74b7c74218
commit
691e6088d5
6 changed files with 15 additions and 15 deletions
|
@ -1178,7 +1178,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%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue