https://github.com/tomashubelbauer/powershell-explorer-file-extensions
Show/hide file extensions in Explorer using PowerShell
https://github.com/tomashubelbauer/powershell-explorer-file-extensions
powershell
Last synced: 9 months ago
JSON representation
Show/hide file extensions in Explorer using PowerShell
- Host: GitHub
- URL: https://github.com/tomashubelbauer/powershell-explorer-file-extensions
- Owner: TomasHubelbauer
- Created: 2019-10-26T09:10:35.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2022-04-14T21:06:25.000Z (almost 4 years ago)
- Last Synced: 2025-06-01T16:40:02.651Z (10 months ago)
- Topics: powershell
- Language: Markdown
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Show or Hide File Extensions in Explorer using PowerShell
Show:
```powershell
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f
```
Hide:
```powershell
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 1 /f
```
Source: https://superuser.com/a/666895/490452