| Windows 7: Change file extension upper/lower case |
02 Jun 2011
|
#1 | | |
Change file extension upper/lower case Everyday I upload some files to my website and to simplify my website operations, I use the same filename and just upload a file with new information every day. The case of file extensions is of no consequence to Windows 7, but it matters to my website. I want to standardize on one case and it doesn't matter which as long it's the same all the time. I have one app, the snipping tool, which seems to generally make files using uppercase, but I have some existing files that are lower case. I have tried to get rid of the lower case extensions by deleting the file and then recreating it with the same name. When I do, Windows changes the case from upper to lower. If I simply create a brand new file with no previous instances of that file in existence (as far as I know), then the default case is upper. How does one go about converting all existing files of a particular type to a standard file extension case, be it upper or lower.
thanks,
atom | My System Specs |
| |
02 Jun 2011
|
#2 | | Windows 7 Pro X64 Space Coast of Florida |
Not sure you can as Windows is case insensative, but have you tried doing it from a Command prompt, enclosing the filename.ext in double quotes as "filename.ext"?
If that doesn't work, maybe a two step process would.
ren "FileName.EXT" FileName.EX"
ren "FileName.EX" FileName.ext" | My System Specs | | System Manufacturer/Model Number Dell Precision 370 OS Windows 7 Pro X64 CPU Intel Pentium 4 Dual LP 3.4Ghz Memory 4GB DDR PC2-5200 ECC Graphics Card NVIDIA Quadro FX 3400/4400 Sound Card SoundMAX Integrated Digital Audio Monitor(s) Displays HP 22" w2207 LCD Screen Resolution 1680 x 1050 Hard Drives 300GB Maxtor 6L300RD PATA
128GB Kingston SV200S3128G SSD (boot)
1.5TB Seagate ST3150041AS SATA Internet Speed Cable via Road Runner 2MB Upload, 20MB Download |
03 Jun 2011
|
#3 | | |
Thanks for the suggestions, but they didn't work. I can take a file like "TestImage.jpg" and rename it to "TestImageX.JPG" and the upper case extension will persist, but if I try to rename it back to "TestImage.JPG" it reverts to the lower case extension in less than a second. I can even delete the file altogether, but if I create another file with the same root name it will recover the lower case extension even if the new file is created with an upper case extension.
atom | My System Specs | | |
03 Jun 2011
|
#4 | | Windows 7 Ultimate X64 SP1 Mt. Crumpit/Whoville |
Welcome Atom. I have tried to change the case of some files on my Desktop just now. I went from lower>upper>lower and the change was accepted. Types I tested are.txt, .jpg, and .ico.
I don't know if it will work, but try puttin the files to change on the desktop and try it. I could not get files in a folder to behave. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Home Built Desktop By DataTech OS Windows 7 Ultimate X64 SP1 CPU Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU Motherboard ASUS P8Z68-V PRO/GEN3 Memory 16GB G.Skill Sniper 2133MHz 4x4GB Graphics Card ASUS ENGTX460 DirectCU/2DI/1GD5 GeForce GTX 460 Sound Card Onboard Realtek 5-1 Monitor(s) Displays Samsung P2570HD Screen Resolution 1920x1080 Keyboard Old, beat-up Dell USB From 10 yrs Ago Mouse Gigabyte m6900 wired PSU Corsair HX650W Case Inwin Dragon Rider Cooling Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM Hard Drives Crucial M4 128GB for OS, 750GB Seagate MomentusXT for data, 500GB Seagate Constellation for storage Internet Speed 8-19 Mbs down, 3-4 Mbs up Comcast Cable Antivirus Norton Internet Security Browser IE 9, Opera when needed Other Info 4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power generator with flux capacitor, 1.21 gigawatts. |
03 Jun 2011
|
#5 | | |

Quote: Originally Posted by Britton30 Welcome Atom. I have tried to change the case of some files on my Desktop just now. I went from lower>upper>lower and the change was accepted. Types I tested are.txt, .jpg, and .ico.
I don't know if it will work, but try puttin the files to change on the desktop and try it. I could not get files in a folder to behave. I can move the file to a different folder and change the extension case and it will stay until I move it back to its original folder at which point it reverts to its original case. Now that I understand what is going on, it's not that hard to work around. I just figured there must be a simple way to change the extension case. Guess not.
Thanks for your help.
atom | My System Specs | | |
03 Jun 2011
|
#6 | | Windows 7 Pro x64 SP1 Rockville, Maryland USA |
FWIW: I had some problems with renaming files and sysinternals from ms had a program called streams.exe
which after reading about it. you might look into this program.
Rich
Added:
Check out the dir command looking for alternate data streams.
dir /r will show you if the file has an alternate data stream which could be
messing up your renaming of a file. | My System Specs | | Computer type Laptop System Manufacturer/Model Number Toshiba Laptop Qosimo X870 OS Windows 7 Pro x64 SP1 CPU Intel Core I7 Motherboard Toshiba Memory 16 Gigs Graphics Card NVIDIA GeForce GTX 670M Monitor(s) Displays 17.7" laptop Screen Resolution 1600 x 900 Hard Drives 256 Gig SanDisk SSD for C
256 Gig Intel SSD for D Internet Speed 50/25 FIOS Antivirus Vipre (all you can eat for 10 machines) Browser IE and FF Other Info I have dos 6.22, wfwg 3.11, win98, 2000 and xp VHD's available for testing. MS's Virtual PC works great. |
23 Sep 2011
|
#7 | | |
Change Folder Name I had the same problem. I would change file extensions to lowercase, and they would immediately revert. However, I noticed that if, after changing all of the extensions, you change the folder name (that they're in), then back to its original name, the extensions remain lowercase. | My System Specs | | |
12 Feb 2012
|
#8 | | Windows 7 Professional x64 |
The problem seems to deal with display of filename itself, but not with actual file name. If you switch extension to lower case, then filename will be changed, but Explorer continues to display extension on upper case for some time. | My System Specs | | System Manufacturer/Model Number HP EliteBook 8730w OS Windows 7 Professional x64 System Manufacturer/Model Number My Build OS Windows 7 Ultimate x64 CPU Intel Q6600 (G1) @ 3.33 GHz Motherboard Asus P5W-DH Deluxe Memory 8 GB Patriot Extreme @ 1000 MHz Graphics Card Sapphire ATi HD6870 1 GB @ 1050/4800 MHz Sound Card On board ALCHD 6-CH Monitor(s) Displays LCD 22" PSU 1000W Case Self Modded Cooling IceAge Prima Boss II Hard Drives 2x 500 GB (Raid 0)
1x 1000 GB (Storage) Change file extension upper/lower case problems? All times are GMT -5. The time now is 10:22 AM. | |