Add mod: remove translated user folders

This commit is contained in:
Fierelier 2022-03-08 08:49:11 +01:00
parent 7bd9d58c5a
commit f9eb698031
5 changed files with 30 additions and 0 deletions

View File

@ -105,6 +105,7 @@ Mods that require System rights<br>
<tr><td>[all]\<b>postSetup</b></td><td>quality</td><td>Runs scripts after Windows Setup is done.</td></tr>
<tr><td>[all]\<b>power and standby button both standby</b></td><td>stability, quality</td><td>Keep the computer from shutting down when (accidentally) pressing the power button. When pressing the button on purpose, you likely want the machine to stop operation rather quickly and reliably, so using sleep is often the better choice.</td></tr>
<tr><td>[all]\<b>recycle bin in computer</b></td><td>quality</td><td>Shows the Recycle Bin in Computer/This PC for easy access.</td></tr>
<tr><td>[all]\<b>remove translated user folders</b></td><td>quality</td><td>Removes translation for a user&#x27;s main folders, which resolves issues with sorting, and confusion because of falsified names.</td></tr>
<tr><td>[all]\<b>sane date and time format</b></td><td>none</td><td>Sets your date format to DD.MM.YYYY and time format to HH:MM:SS (24-hour clock).</td></tr>
<tr><td>[all]\<b>SetupComplete (wim)</b></td><td>quality</td><td>Runs scripts in the Out Of Box Experience (OOBE)</td></tr>
<tr><td>[all]\<b>small taskbar icons</b></td><td>quality</td><td>Uses smaller icons to preserve screen space.</td></tr>

View File

@ -105,6 +105,7 @@ Mods that require System rights<br>
<tr><td>[all]\<b>postSetup</b></td><td>quality</td><td>Runs scripts after Windows Setup is done.</td></tr>
<tr><td>[all]\<b>power and standby button both standby</b></td><td>stability, quality</td><td>Keep the computer from shutting down when (accidentally) pressing the power button. When pressing the button on purpose, you likely want the machine to stop operation rather quickly and reliably, so using sleep is often the better choice.</td></tr>
<tr><td>[all]\<b>recycle bin in computer</b></td><td>quality</td><td>Shows the Recycle Bin in Computer/This PC for easy access.</td></tr>
<tr><td>[all]\<b>remove translated user folders</b></td><td>quality</td><td>Removes translation for a user&#x27;s main folders, which resolves issues with sorting, and confusion because of falsified names.</td></tr>
<tr><td>[all]\<b>sane date and time format</b></td><td>none</td><td>Sets your date format to DD.MM.YYYY and time format to HH:MM:SS (24-hour clock).</td></tr>
<tr><td>[all]\<b>SetupComplete (wim)</b></td><td>quality</td><td>Runs scripts in the Out Of Box Experience (OOBE)</td></tr>
<tr><td>[all]\<b>small taskbar icons</b></td><td>quality</td><td>Uses smaller icons to preserve screen space.</td></tr>

View File

@ -0,0 +1,26 @@
@echo off
setlocal
for /d %%i in ("%USERPROFILE%\*") do (
if exist "%%i\desktop.ini" (
call :editIni "%%i\desktop.ini"
)
)
goto exit
:editIni
setlocal
if exist "%~1.tmp" del /f /q "%~1.tmp"
for /f "tokens=*" %%l in ('type "%~1"') do call :editLine "%~1" "%%l"
del /a:s /f /q "%~1"
rename "%~1.tmp" "desktop.ini"
attrib +h +s "%~1"
exit /b
:editLine
setlocal
set "line=%~2"
set "newline=%line:localizedResourceName=%"
if "%line%" == "%newline%" echo>>"%~1.tmp" %line%
exit /b
:exit

View File

@ -0,0 +1 @@
Removes translation for a user's main folders, which resolves issues with sorting, and confusion because of falsified names.

View File

@ -0,0 +1 @@
quality