Solved

file case sensitivity in NT/Windows 2000

Posted on 2001-08-13
3
207 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
ID: 6381718
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
ID: 8433097
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
ID: 8617632
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…

910 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

20 Experts available now in Live!

Get 1:1 Help Now