As one file.
Regards, Dejan.
> Curious: why on earth do you want to do this?
> Beneath the shell, NTFS *is* case sensitive. If you bypass Win32 and talk
> directly to ntdll.dll, or (possibly) use the Posix interfaces, you can
> create distinct files with names distinguishable only by case, and create
> havoc for users limited to Explorer or CMD.EXE. E.g.,
> MYFILE.TXT
> MYFILE.txt
> MyFile.Txt
> myfile.txt
> ...
> I've never seen nor done this, so I don't know how they will actually appear
> in Explorer.
> --
> Aaron
> --------------------------------------
> Aaron J Margosis
> Please send replies only to the newsgroup(s). More people are available to
> answer the questions, and more people benefit from the responses. **I won't
> respond to emails.** Thanks.
> > Hi,
> > Thanks for the help. Actually I'm trying to create more than 2 files -
> maybe
> > a way to create more and more files. I wander - do u think can it be done
> > this way? And, what is the Alt-255?
> > Thanks again,
> > Lior
> > > Lior Messinger schrieb in Nachricht ...
> > > >Hi,
> > > >I'm trying to show two different files as files with the same name - I
> > > want
> > > >it to look the same in Explorer. Can it be done? I can recreate these
> > > files
> > > >if I need - can it be done then, with new names I decide?
> > > Normally, creating a second file of the same name as an existing one in
> > > a directory will get you to the point where you're asked if you want to
> > > overwrite the existing one.
> > > Presumably the only way within the same directory is to have names that
> > > are *almost* similar:
> > > abcd<blank>efgh.ext and abcd<Alt+0255>efgh.ext will *look* similar, but
> > > although the middle space seems the same, it will be different to the
> > > computer ("soft" space vs. "hard" space).
> > > Helmut
> > > --
> > > If you think *you* are stubborn, try a bulldog...
--
Regards, Dejan M. CEO Alfa Co. http://www.alfaunits.co.yu
Professional file&system related components and libraries for Win32 developers.
Alfa Units - #1 file and system handling units for Delphi.
Alfa File Monitor - #1 file monitoring system for Win32 developers.
Alfa Interceptor - #1 file protection and hiding system for Win32 developers.