Raphire / Win11Debloat

A simple, easy to use PowerShell script to remove pre-installed apps from Windows, disable telemetry, remove Bing from Windows search as well as perform various other changes to declutter and improve your Windows experience. This script works for both Windows 10 and Windows 11.
MIT License
14.2k stars 615 forks source link

change the bat file name to Win11Debloat.bat #121

Closed hst1189 closed 2 months ago

hst1189 commented 2 months ago

I think there was an upgrade at once @commit 9d07087. However, by changing from 「%~dp0Win11Debloat.ps1」 to 「%~dpn0.ps1」, you can upgrade the version again without making any changes to the content of the file, just by changing the file name.

スクリーンショット 2024-08-31 174005

Raphire commented 2 months ago

Heya,

Thanks for taking the time to help contribute to Win11Debloat.

While I understand the benefits of this approach, I also see some issues.

Because file extensions are hidden by default now (thanks Microsoft) it's likely that people will confuse the bat file and the powershell file if they have the same name. To avoid that I think it's best to keep the filenames distinct. image