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

pcwin

New member
Member
VIP
Local time
12:31 PM
Messages
112
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 Computer My Computer

At a glance

Windows 7 Home Premium 64 BitIntel8GBRadeon HD 5770
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Home Premium 64 Bit
CPU
Intel
Motherboard
ASUS P7P55DE-PRO
Memory
8GB
Graphics Card(s)
Radeon HD 5770
Hard Drives
WD Black
Antivirus
MSE
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 Computer My Computer

At a glance

Windows 7 Home Premium SP1, 64-bitIntel Skylake i5-6600K, not overclocked8 GB HyperX DDR4-2666 (2 x 4 GB)none; graphics are integrated on CPU
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Ignatz Special; 4 speed manual gearbox; factory air conditioning; one of one
OS
Windows 7 Home Premium SP1, 64-bit
CPU
Intel Skylake i5-6600K, not overclocked
Motherboard
AsRock Z170M Extreme 4, micro ATX
Memory
8 GB HyperX DDR4-2666 (2 x 4 GB)
Graphics Card(s)
none; graphics are integrated on CPU
Sound Card
onboard: Realtek ALC1150; external: USB Behringer UF0-202
Monitor(s) Displays
Dell S2340M 23 inch IPS
Screen Resolution
1600 x 900
Hard Drives
System: Crucial MX100 series SSD, 128 GB;
Data: Samsung Spinpoint 103SJ, 1 TB;
Backup: WD Caviar Green WD30EZRX-00D8PB0, 3 TB
PSU
Rosewill SilentNight 500 watt fanless, semi-modular
Case
Antec Solo II
Cooling
Noctua NH-U12S; Noctua F12 intake, Noctua S12A exhaust
Keyboard
Microsoft 200 6JH-00001 USB
Mouse
Dell or Microsoft optical wired; USB
Antivirus
Microsoft Security Essentials and Malwarebytes Premium
Browser
Pale Moon
Other Info
All fans PWM; speeds at idle: CPU circa 500 rpm; intake circa 600 rpm; exhaust circa 600 rpm; CPU temps 27 idle and 47 C load in a warm room (27 C/81 F) when running Intel Extreme Tuning Utility stress test.
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 Computer My Computer

At a glance

Linux Lite 3.2 x64; Windows 7, 8.1Core2Duo 2.46GB ddr2nVidia
Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell precision t3400 tower
OS
Linux Lite 3.2 x64; Windows 7, 8.1
CPU
Core2Duo 2.4
Memory
6GB ddr2
Graphics Card(s)
nVidia
Hard Drives
120gb SSD, 1TB HD, 2TB HD; sata II
Internet Speed
12/2
Browser
Vivaldi, Slimjet (Chromium) x64
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 Computer My Computer

At a glance

Windows 7 Home Premium 64 BitIntel8GBRadeon HD 5770
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Home Premium 64 Bit
CPU
Intel
Motherboard
ASUS P7P55DE-PRO
Memory
8GB
Graphics Card(s)
Radeon HD 5770
Hard Drives
WD Black
Antivirus
MSE
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 Computer My Computer

At a glance

Windows 7 Home Premium 64 BitIntel8GBRadeon HD 5770
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Home Premium 64 Bit
CPU
Intel
Motherboard
ASUS P7P55DE-PRO
Memory
8GB
Graphics Card(s)
Radeon HD 5770
Hard Drives
WD Black
Antivirus
MSE
Yes, no, yes.
 

My Computer My Computer

At a glance

Linux Lite 3.2 x64; Windows 7, 8.1Core2Duo 2.46GB ddr2nVidia
Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell precision t3400 tower
OS
Linux Lite 3.2 x64; Windows 7, 8.1
CPU
Core2Duo 2.4
Memory
6GB ddr2
Graphics Card(s)
nVidia
Hard Drives
120gb SSD, 1TB HD, 2TB HD; sata II
Internet Speed
12/2
Browser
Vivaldi, Slimjet (Chromium) 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 Computer My Computer

At a glance

W7 Ult x64
Computer type
Laptop
OS
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.
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.

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 Computer My Computer

At a glance

Windows 10, Windows 8.1 Pro, Windows 7 Profes...
Computer type
PC/Desktop
OS
Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
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 Computer My Computer

At a glance

W7 Ult x64
Computer type
Laptop
OS
W7 Ult x64
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 Computer My Computer

At a glance

Windows 10, Windows 8.1 Pro, Windows 7 Profes...
Computer type
PC/Desktop
OS
Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
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.
The Linux GUI tools can usually handle spaces, but the Terminal doesn't like them.
 

My Computer My Computer

At a glance

W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, ...AMD Phenom II x6 1100T, 3.3 GHz12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2G...NVIDIA GeForce GTX 660
Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
Back
Top