Change file extension upper/lower case

Atom

New member
Member
Local time
2:21 PM
Messages
81
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 Computer

OS
win7 64 Home Premium
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
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 Computer

OS
win7 64 Home Premium
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 Computer

Computer type
PC/Desktop
Computer 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 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.
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 Computer

OS
win7 64 Home Premium
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 Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Laptop Qosimo X870
OS
Windows 7 Pro x64 SP1
CPU
Intel Core I7
Motherboard
Toshiba Qosmio
Memory
16 Gigs
Graphics Card(s)
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.
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 Computer

OS
Windows 7
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 Computer

Computer Manufacturer/Model Number
HP EliteBook 8730w
OS
Windows 7 Professional x64
It's very odd !
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
My Build
OS
Windows 10 Build 9926
CPU
Core i7 4770k
Motherboard
Asus Z87 - Plus
Memory
32 GB DDR3 @ 1822 MHz
Graphics Card(s)
ATi 280X 3GB 384-Bit @ 1180/6840 MHz
Sound Card
Onboard 8 CH
Monitor(s) Displays
LCD 22" + CRT 17"
Screen Resolution
1920 x 1080 / 1600 x 1200
Hard Drives
SSD: 240 GB
HDD: 750GB (Media) + 2TB (Mass Storage)
PSU
1000W
Case
Self Modded
Cooling
Corsair H60 Triple Fan (Push-Push-Pull)
Keyboard
MS wireless
Mouse
MS wireless
Internet Speed
25M (down) 2M (up)
Antivirus
AVG Internet Security 2015
Browser
IE11 / FF / Chrome
Back
Top