Solved

file case sensitivity in NT/Windows 2000

Posted on 2001-08-13
3
228 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

628 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