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: What is the difference of using Capital vs Small letters in file names

05 Aug 2015   #1
pcwin

Windows 7 Home Premium 64 Bit
 
 
What is the difference of using Capital vs Small letters in file names

Is naming a file/folder in capital or small letters making a differences?
What would it affect / bad effects if I use capital for file/folder names?

Are accessing all these path the same?
E:\data\recipe\chicken.txt
E:\data\recipe\CHICKEN.txt
E:\data\RECIPE\chicken.txt
E:\data\RECIPE\CHICKEN.txt
E:\DATA\recipe\chicken.txt
E:\data\recipe\Chicken.txt

I want to use capital letters for some files/folder names because it would make it stand out more among many folders, and I use capital for files/folders that are more important and frequently accessed.

If I name a folder/file as E:\data\RECIPE\CHICKEN.txt , when I access E:\data\recipe\chicken.txt , would it open the same file CHICKEN.txt ?

Thanks


My System SpecsSystem Spec
.
05 Aug 2015   #2
ignatzatsonic

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, 64-bit
 
 

I don't know about your PC, but on mine I cannot make a folder named RECIPE if I already have one named Recipe or recipe in the same parent directory. The same rule applies to file names.

Can you?

On my PC, all 6 of those recipe folders would be identical and I could only make one of them. I'd get a message about "do you want to merge with the other folder of the same name" if I tried.

There may be some cute way around it, but I don't know what it would be.

I've sometimes used an underscore _ to help with ordering files and folders in a certain way.

I can't recall the last time case made a difference in anything I do other than passwords, which at times are case-sensitive.
My System SpecsSystem Spec
05 Aug 2015   #3
paul1149

Linux Lite 2.8 x64 (full-featured, fast, rock-solid)
 
 

There's no difference in Windows, but in Linux there is. If you want to have correspondence with Linux it would be wise to use a convention that both will understand. Linux sorts a little differently, too, so that a leading underscore will not send a file to the top. So I've been using a 0. prefix to do that. I'm also learning to avoid spaces.
My System SpecsSystem Spec
.

05 Aug 2015   #4
pcwin

Windows 7 Home Premium 64 Bit
 
 

Quote   Quote: Originally Posted by ignatzatsonic View Post
I don't know about your PC, but on mine I cannot make a folder named RECIPE if I already have one named Recipe or recipe in the same parent directory. The same rule applies to file names.

Can you?

On my PC, all 6 of those recipe folders would be identical and I could only make one of them. I'd get a message about "do you want to merge with the other folder of the same name" if I tried.
I have the same experience as you.

So from my understanding, Windows treat uppercase and lowercase as the same thing.

Accessing any of these would access the same file and it does not matter if I name the file in uppercase or lower case. I am just use uppercase so it is easier for my eyes to spot important/frequently accessed files
E:\data\recipe\chicken.txt
E:\data\recipe\CHICKEN.txt
E:\data\RECIPE\chicken.txt
E:\data\RECIPE\CHICKEN.txt
E:\DATA\recipe\chicken.txt
E:\data\recipe\Chicken.txt
My System SpecsSystem Spec
05 Aug 2015   #5
pcwin

Windows 7 Home Premium 64 Bit
 
 

Quote   Quote: Originally Posted by paul1149 View Post
There's no difference in Windows, but in Linux there is. If you want to have correspondence with Linux it would be wise to use a convention that both will understand. Linux sorts a little differently, too, so that a leading underscore will not send a file to the top. So I've been using a 0. prefix to do that. I'm also learning to avoid spaces.
Does Linux treat uppercase and lowercase differently?

Does Linux treat these as a same file? Or can I make 6 different files/folders as below in Linux?
E:\data\recipe\chicken.txt
E:\data\recipe\CHICKEN.txt
E:\data\RECIPE\chicken.txt
E:\data\RECIPE\CHICKEN.txt
E:\DATA\recipe\chicken.txt
E:\data\recipe\Chicken.txt
My System SpecsSystem Spec
05 Aug 2015   #6
paul1149

Linux Lite 2.8 x64 (full-featured, fast, rock-solid)
 
 

Yes, no, yes.
My System SpecsSystem Spec
06 Aug 2015   #7
JimSF

W7 Ult x64
 
 

There's sometimes a curiosity in W7's behaviour. If I want to change a file or a folder's name from capital to small or vice versa W7 doesn't change it. Than I have to rename the file and try again before the name changes from capital to small or vv.
My System SpecsSystem Spec
06 Aug 2015   #8
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Quote   Quote: Originally Posted by JimSF View Post
There's sometimes a curiosity in W7's behaviour. If I want to change a file or a folder's name from capital to small or vice versa W7 doesn't change it. Than I have to rename the file and try again before the name changes from capital to small or vv.
In does in fact change. In Windows 7's Explorer you have to hit refresh if you've just renamed something to the same name but with different capitalisation before you can view it's new name.

Quote   Quote: Originally Posted by pcwin View Post
Does Linux treat uppercase and lowercase differently?

Does Linux treat these as a same file? Or can I make 6 different files/folders as below in Linux?
E:\data\recipe\chicken.txt
E:\data\recipe\CHICKEN.txt
E:\data\RECIPE\chicken.txt
E:\data\RECIPE\CHICKEN.txt
E:\DATA\recipe\chicken.txt
E:\data\recipe\Chicken.txt
Linux's file system is case sensitive, so all those paths reference a different item (but only of course if those paths are in the proper Linux format, i.e. without the drive letter there).

Windows and OS X on the other hand have case insensitive file systems and will treat all those paths as the same item.
My System SpecsSystem Spec
06 Aug 2015   #9
JimSF

W7 Ult x64
 
 

Quote   Quote: Originally Posted by Pyprohly View Post
In does in fact change. In Windows 7's Explorer you have to hit refresh if you've just renamed something to the same name but with different capitalisation before you can view it's new name.
So, if understand this correctly there's still an unsolved bug in W7, since anything else is refreshed automatically (given you have enough resources to have a refresh done automatically) except where for the capital to small or vv. the refreshing has to be done manually.
My System SpecsSystem Spec
06 Aug 2015   #10
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Yes. Essentially.

It's not exactly known why Explorer is bugged like that in Windows 7, but refreshing it works and that's that.
My System SpecsSystem Spec
Reply

 What is the difference of using Capital vs Small letters in file names




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Does Windows save logs somewhere that shows folder names / file names?
Probably it doesn't and my question is a long shot - but I recently toasted a drive, and it had many folders and files which I have little memory of. I also never used one of those nice apps that makes a list. Any help appreciated. Much obliged. Tt
General Discussion
Office 2013 Ribbon Tabs - All CAPITAL Letters Fix
How to Fix All Capital Letters in Ribbon Tabs in Office 2013 Development team of Office 2013 have decided to leave tabs in capital letters in Office 2013 ribbon as a part of the design. This tutorial will show you a solution on how to turn CAPITAL LETTERS (UPPER CASE, MAJUSCULE) in ribbon...
Tutorials
see file names
How do I see file names when opening word 2007 documents? I used to see them.
Microsoft Office
Batch File that grabs file names from folder to insert into batch file
Ok I'm totally at a loss on how to word this so I'm just going to write it out the best that I can... :confused: First I have a batch file that I'm writing that will convert mp4 files to mp3 files (I have a lot) for a buddies band using ffmpeg. Here's the code that I'm using: ffmpeg -i...
General Discussion
Windows Explorer: Display Drive Letters Before Drive Names
Pretty useful modification if you have long drive names, or are just particular about your layout. http://www.sevenforums.com/tutorials/3265-drive-letters-show-before-after-name-computer.html
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 16:10.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App