Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Change file extension upper/lower case

02 Jun 2011   #1
Atom

win7 64 Home Premium
 
 
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 SpecsSystem Spec
02 Jun 2011   #2
Ztruker

Windows 8 Core X64
 
 

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 SpecsSystem Spec
03 Jun 2011   #3
Atom

win7 64 Home Premium
 
 

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 SpecsSystem Spec
03 Jun 2011   #4
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

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 SpecsSystem Spec
03 Jun 2011   #5
Atom

win7 64 Home Premium
 
 

Quote   Quote: Originally Posted by Britton30 View Post
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 SpecsSystem Spec
03 Jun 2011   #6
richnrockville

Windows 7 Pro x64 SP1
 
 

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 SpecsSystem Spec
23 Sep 2011   #7
56bailey56

Windows 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 SpecsSystem Spec
12 Feb 2012   #8
AKazak

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 SpecsSystem Spec
12 Feb 2012   #9
vrosa

Windows 8 Pro x64, Windows 8.1 Preview x64
 
 

It's very odd !
My System SpecsSystem Spec
Reply

 Change file extension upper/lower case




Thread Tools





Similar help and support threads
Thread Forum
File Extension Icon - Change Default Icon
How to Change the Default Icon of a File Extension in Windows 7 This will show you how to change the default icon of any file extension to have a custom icon of your choice instead for it in Windows 7.By default, known file extension types are set to be hidden in Windows 7. You will need to...
Tutorials
Can we change the upper/lower case of filenames in Windows Explorer?
Hi. When I try to change the case from upper to lower or vice versa of filenames n windows explorer, the changes are not accepted. Also, adding or deleting of spaces in existing filename words is also not being accepted. I have admin privileges. Thank you for help.
General Discussion
Is There an Upper File Size Limit on Copy/Cut & Paste?
Is there an upper file size limit on copy & paste function? I've tried to copy my music collection (16.5GB) via copy & paste & it just does nothing. Rebooting will result in copy dialogue window showing briefly before disappearing from sight. :cry::sarc::cry: Can anyone suggest a good...
General Discussion
Is there a way to change the properties of a file extension?
Is there a way to change the properties of a file extension? As an example: I would like "all" .txt files to be hidden. Thanks
General Discussion
Searching for upper- or lower-case words in files.
I'm searching across thirty-some Word documents in one folder. How can I specify a search for words with specific case requirements? I'm looking for the word "lesson," not "Lesson," and I want to see what files it occurs in and where those occurrences are. Thanks for any help. PS: Bonus...
General Discussion
small box with blue lower case i
I tried to open an attachment in windows live mail and a small box appeared with a blue i and I can't get it off the middle of my desk top. It's icon is at the lower left and when I left click on it 3 boxes come up and will not close when I click on close all windows. what is this and how do i...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:31.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App