Solved

file case sensitivity in NT/Windows 2000

Posted on 2001-08-13
3
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

752 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