BKPB
Member
- Messages
- 91
- Reaction score
- 10
SetupComplete.cmd is not deleted automatically. SetupComplete.cmd and the folder $OEM$\$$\Setup\Scripts in which it is located are no longer automatically deleted. In doing so, it deletes the FilesU folder.
What could be the reason? Maybe in the encoding ?
Here is the script itself:
echo off
mode 155, 60
CD "%TEMP%"&CLS&@TITLE
cscript "%WINDIR%\Setup\FilesU\Hide_Folders.vbs"
cscript "%WINDIR%\Setup\FilesU\Label_System.vbs"
rd /q /s "%WINDIR%\Setup\FilesU"
rd /q /s "%WINDIR%\Setup\Scripts"
del /q /f "%0"
Installing Windows 11
What could be the reason? Maybe in the encoding ?
Here is the script itself:
echo off
mode 155, 60
CD "%TEMP%"&CLS&@TITLE
cscript "%WINDIR%\Setup\FilesU\Hide_Folders.vbs"
cscript "%WINDIR%\Setup\FilesU\Label_System.vbs"
rd /q /s "%WINDIR%\Setup\FilesU"
rd /q /s "%WINDIR%\Setup\Scripts"
del /q /f "%0"
Installing Windows 11
