Solved

file case sensitivity in NT/Windows 2000

Posted on 2001-08-13
3
201 Views
Last Modified: 2013-12-15
NT is apparently case sensitive.  However, I believe that it may just preserve case.  I am wishing to copy files of the following format to the same directory on NT:

MYNAME.TXT
myname.txt
Myname.txt

I have read a microsoft article suggesting that NT 3.1 will do this.  The reason I wish to do this is to copy data that has been generated on Linux systems onto an NT partition.  Linux's ext2 file system supports this naming natively.

I think that NT is capable of this.  I think that in order to provide backwards compatibility it disallows two files of the same name to be created in the same directory.

Is there any registry hack or other than can enable files with the same name but different case to be created in the same directory in NT4 or Win2000.

Many thanks

0
Comment
Question by:craigggg
3 Comments
 
LVL 14

Accepted Solution

by:
chris_calabrese earned 200 total points
Comment Utility
The underlying NT filesystem is case sensitive.  However the Win32 API is not case sensitive.  I believe the only way you can get case insensitivity is to use the POSIX sub-system.  Now that I think about it, SMB mounting from a Linux system might work too, but I wouldn't swear to that.

BTW, the dichotomy of the Win32 API not being case-sensitive and the underlying filesytem being case sensitive allows for some interesting security attacks on filesystem objects, including system level files...
0
 
LVL 9

Expert Comment

by:majorwoo
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area to:
Accept chris_calabrese's answer
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
majorwoo
EE Cleanup Volunteer
0
 

Expert Comment

by:SpideyMod
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now