Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
Windows normally treats filenames as case-insensitive but case-preserving: report.docx and Report.docx refer to the same file, even though Windows can display a preferred capitalization. There is no File Explorer setting that locks capitalization. To correct a case-only rename reliably, rename the file or folder to a genuinely different temporary name, then rename it to the capitalization you want.
Rename a file or folder reliably
A direct rename that changes only uppercase and lowercase letters may not update the name as expected. The workaround is to make an actual intermediate name change first.
In File Explorer
- Select the file or folder and press F2, or choose Rename from its context menu.
- Give it a temporary name that differs by more than capitalization, such as
report-temp.docx. - Press Enter to apply that name.
- Rename it again to the desired capitalization, such as
Report.docx.
Use a temporary name that is not already in the folder. In current Windows 11 File Explorer, use View → Show → File name extensions if you need to see the complete filename before editing it. Menu wording may differ in other Windows versions. This avoids accidentally changing or duplicating an extension. Microsoft documents Explorer’s rename controls in its File Explorer guide; the two-step approach is a practical workaround for case-only renames, not a special Explorer setting.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
With PowerShell
For a known file, open PowerShell and run these commands, adjusting the path and final name:
#1 Best Overall
- KEYBOARD: The keyboard works for Windows with hot keys that enable easy access to Media, My Computer, Mute, Volume up/down, and Calculator
- EASY SETUP: Experience simple installation with the USB wired connection
- VERSATILE COMPATIBILITY: This keyboard is designed to work with multiple Windows versions, including Vista, 7, 8, 10 offering broad compatibility across devices.
- SLEEK DESIGN: The elegant black color of the wired keyboard complements your tech and decor, adding a stylish and cohesive look to any setup without sacrificing function.
- FULL-SIZED CONVENIENCE: The standard QWERTY layout of this keyboard set offers a familiar typing experience, ideal for both professional tasks and personal use.
Rename-Item -LiteralPath "C:Filesreport.docx" -NewName "report-temp.docx"
Rename-Item -LiteralPath "C:Filesreport-temp.docx" -NewName "Report.docx"
For a folder, use the same two-step method with its folder path and names:
Rename-Item -LiteralPath "C:Projectsmyproject" -NewName "myproject-temp"
Rename-Item -LiteralPath "C:Projectsmyproject-temp" -NewName "MyProject"
Rename-Item is PowerShell’s rename command; Microsoft’s reference has its syntax and options. If the temporary name might exist, choose a unique one. For example, add a short date or number to the name.
Rank #2
- Reliable Plug and Play: The USB receiver provides a reliable wireless connection up to 33 ft (1), so you can forget about drop-outs and delays and you can take it wherever you use your computer
- Type in Comfort: The design of this keyboard creates a comfortable typing experience thanks to the low-profile, quiet keys and standard layout with full-size F-keys, number pad, and arrow keys
- Durable and Resilient: This full-size wireless keyboard features a spill-resistant design (2), durable keys and sturdy tilt legs with adjustable height
- Long Battery Life: MK270 combo features a 36-month keyboard and 12-month mouse battery life (3), along with on/off switches allowing you to go months without the hassle of changing batteries
- Easy to Use: This wireless keyboard and mouse combo features 8 multimedia hotkeys for instant access to the Internet, email, play/pause, and volume so you can easily check out your favorite sites
With Command Prompt
The Windows ren command also works for a two-step rename:
Free tools Windows power users keep installed
One-click scans. No signup required.
ren "C:Filesreport.docx" "report-temp.docx"
ren "C:Filesreport-temp.docx" "Report.docx"
See Microsoft’s ren command reference for syntax.
Rank #3
- All-day Comfort: The design of this standard keyboard creates a comfortable typing experience thanks to the deep-profile keys and full-size standard layout with F-keys and number pad
- Easy to Set-up and Use: Set-up couldn't be easier, you simply plug in this corded keyboard via USB on your desktop or laptop and start using right away without any software installation
- Compatibility: This full-size keyboard is compatible with Windows 7, 8, 10 or later, plus it's a reliable and durable partner for your desk at home, or at work
- Spill-proof: This durable keyboard features a spill-resistant design (1), anti-fade keys and sturdy tilt legs with adjustable height, meaning this keyboard is built to last
- Plastic parts in K120 include 51% certified post-consumer recycled plastic*
Why case-only renames can be confusing
On an ordinary Windows directory, capitalization is usually not part of a filename’s identity. Windows can preserve and show the spelling used when a name was created or last successfully changed, while still treating names with different letter case as equivalent.
- Case-insensitive: Windows normally treats
README,Readme, andreadmeas the same name. - Case-preserving: It can display the chosen spelling, such as
Readme. - Case-sensitive:
READMEandreadmeare distinct names. This is not the default behavior of an ordinary Windows directory.
Microsoft says not to assume Windows file and directory names are case-sensitive, while documenting case-sensitive behavior as an NTFS capability that can be enabled in specific directories. See its file-naming rules and WSL case-sensitivity guidance. A normal Windows folder generally cannot contain two separate files named only differently by capitalization.
Rank #4
- 【Dreamy Rainbow Gaming Keyboard】K521 Gaming Keyboard Adopts a Different LED Backlight Design, Upgraded on the Traditional LED Backlight Effect, Making the Light More Penetrating, Giving You a More Dazzling Visual Effect, Making Your Gaming Process More Enjoyable
- 【One Touch Opens & Visual Feast】The K521 Red Dragon Keyboard has a One-Touch on/off Lighting Button for Added Convenience. It also has a Three-Position Adjustable Breathing Mode and a Four-Position Adjustable Brightness Lighting Mode
- 【Mechanical Feeling & Fast Tapping】The PC Keyboard Keys are Designed for Mechanical Feeling, Giving You a Better Feel During Use and the Ability to Trigger Keys Quickly, Allowing You to Win All Your Games
- 【19 Keys Anti-Ghosting Keyboard】Anti-Ghosting Ensures Every Button Can Be Triggered. This Allows You to Trigger Key Combinations In The Game Accurately, And Each Skill Can Be Accurately Released to Increase Your Winning Rate. Redragon K521 Will Be Your Perfect Partner
- 【12 Multimedia Combination Keys】The K521 Wired Gaming Keyboard is Equipped with 12 Multimedia Keys That Can Greatly Enhance Your Gaming/Office Efficiency and Make It More Convenient to Use
If the capitalization changes back later
First distinguish a rename that never takes effect from one that succeeds and later reverts. If the name does not change at all, use the temporary-name method above. If it changes and then returns—perhaps after a delay, a sync, or a restart—look for another program or system managing that location. These are possibilities to investigate, not proof that any one service is responsible.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →- Check sync clients. Temporarily pause OneDrive, Dropbox, Google Drive, or another service, perform the two-step rename, then resume syncing and watch for a conflict or a spelling restored from the remote copy.
- Check source control. In a Git repository, inspect the repository status before and after a case-only change. Moving between systems with different case-handling rules can make such changes confusing; an intermediate name can help Git record the change.
- Check scripts and automation. Look for PowerShell, batch, Python, backup, download, or media-organizing jobs that convert names to a standard case.
- Check the application that owns the files. Photo catalogs, music managers, development tools, and archive utilities may rename files as part of their own organization or extraction features.
- Consider where the folder lives. A NAS, SMB share, removable drive, or cloud-backed folder may be governed by a remote server or file system with different naming behavior. Try the rename through the system that owns the share if local Explorer cannot apply it consistently.
Also close applications using the file. A lock, insufficient permission, or sync activity can prevent a rename. If the operation fails, note the full error message before trying another method.
Best Value
- All-day Comfort: This USB keyboard creates a comfortable and familiar typing experience thanks to the deep-profile keys and standard full-size layout with all F-keys, number pad and arrow keys
- Built to Last: The spill-proof (2) design and durable print characters keep you on track for years to come despite any on-the-job mishaps; it’s a reliable partner for your desk at home, or at work
- Long-lasting Battery Life: A 24-month battery life (4) means you can go for 2 years without the hassle of changing batteries of your wireless full-size keyboard
- Simply plug the USB receiver into a USB port on your desktop, laptop or netbook computer and start using the keyboard right away without any software installation
- Simply Wireless: Forget about drop-outs and delays thanks to a strong, reliable wireless connection with up to 33 ft range (5); K270 is compatible with Windows 7, 8, 10 or later
Renaming many files
For a few items, Explorer’s two-step method is easiest. For a larger set, use a preview and check that every target name is unique before applying changes.
- PowerRename: Microsoft’s PowerToys utility offers an interactive bulk-renaming interface with search-and-replace and regular-expression options. It is useful for a naming pattern, but it does not change how Windows treats capitalization. See the PowerRename documentation.
- PowerShell: Use it when you need a repeatable transformation. Preview the proposed old and new names first, back up important files, and check for collisions before renaming. Microsoft’s PowerShell case-sensitivity documentation explains shell behavior; do not confuse that behavior with a directory’s naming rules.
For example, a lowercase conversion must account for collisions such as Photo.JPG and photo.jpg. On an ordinary case-insensitive directory, those names cannot safely become two separate lowercase targets. Do not run a bulk script recursively until you have planned for duplicate destinations and reviewed exactly which files it will touch. Converting the complete filename also converts the extension, so preserve extensions deliberately if that is not wanted.
Advanced: case-sensitive NTFS directories
If you work with Linux or WSL files that genuinely need two names differing only in capitalization, Windows supports a per-directory case-sensitivity setting on NTFS. This is an advanced compatibility feature, not a fix for a routine Explorer rename. Microsoft documents support starting with Windows 10 build 17107, along with the requirements and limitations.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11To query a directory’s setting, run:
fsutil.exe file queryCaseSensitiveInfo "C:PathFolder"
To enable or disable it:
fsutil.exe file setCaseSensitiveInfo "C:PathFolder" enable
fsutil.exe file setCaseSensitiveInfo "C:PathFolder" disable
These commands require an NTFS directory and elevated permissions. The directory generally must be empty before you can change the setting; when necessary, create a new directory, set its behavior, then copy files into it. Follow Microsoft’s case-sensitivity instructions for the applicable Windows and WSL setup.
Enabling case sensitivity can break assumptions made by Windows applications that expect paths to be case-insensitive. Some programs may fail to find a file if they request it with different capitalization, and files differing only by case may not be reliably distinguishable in every Windows application. Use this only when the workflow requires it and the programs accessing the directory are compatible. Microsoft’s technical explanation provides further context.
Quick Recap
Final checks
- Use a temporary name that is not already present.
- Check that the final name does not collide with another file; case variants are generally the same target in a normal Windows folder.
- Show file extensions before changing a full filename.
- Close programs using the file and confirm you have permission to rename it.
- If a rename reverts later, investigate sync, source control, scripts, and remote storage rather than repeatedly renaming it.
- Check shortcuts, scripts, imports, or project references that may use the old path. The file’s contents are not changed by a rename, but software that refers to its exact path can be affected.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

