Use user temp folder or random name in Windows/Temp

This commit is contained in:
WindowsAddict 2025-05-18 02:41:47 +05:30
parent 74b7c74218
commit 691e6088d5
6 changed files with 15 additions and 15 deletions

View file

@ -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%