Re: Want to use special characters in file names

From: David Candy (david_at_mvps.org)
Date: 08/21/04


Date: Sun, 22 Aug 2004 02:18:01 +1000

The NT operating system runs other operating systems. In NT4 there was Windows 32 bit, OS/2, and Posix. OS/2 was dropped in 2000 and Posix dropped in XP. This leaves only the Win32 sub system (Dos and Win 16 are handled by the Win 32 sub system not NT since 2000. In NT4 dos programs actually ran in the OS/2 sub system). Dos, Win16, Win32, and OS/2 all share naming conventions (all originally based on Dos's). Posix is totally unrelated to those 4.

So Posix can create files with windows illegal names. But windows can't use those files. But Posix can.

The reason they are reserved is that they have meaning.
\, /, and : are used to specify what part of a path is what (and in Dos / is a switch rather than path seperator).
?, *, <, and > are used in command prompts to issue special commands. < and > are processed first in a line changing the meaning dramatically.

Can XP create those files, yes but you have to write the program/drivers. Can windows or Dos create those files, no.

All the really advanced features of NTFS are there solely for the posix sub system.

-- 
----------------------------------------------------------
'Not happy John! Defending our democracy',
http://www.smh.com.au/articles/2004/06/29/1088392635123.html
"Svend Cr" <nomail@mail.com> wrote in message news:954CABA4DDD43471AE@127.0.0.1...
> "V Green" <vanceg@nowhere.net> wrote:
> 
> > "Jann" <noone@no-where.com> wrote in message
> > news:954C6BD6CE060D92F1@127.0.0.1...
> >> I would like to use "reserved" characters when naming some of
> >> my desktop icons.
> >>
> >> I mean characters like   \  <  >  :
> >>
> >> Is there a way of tweaking the registry to permit these
> >> characters in file or folder names? 
> > 
> > Errrr...no.
> > 
> > Why do you think they're called
> > "reserved"?
> 
> 
> I would think there is no particularly good technical reason to 
> reserve those characters.  XP prevents them being entered but I am 
> usre they could be used.


Relevant Pages

  • Re: Want to use special characters in file names
    ... So Posix can create files with windows illegal names. ... The reason they are reserved is that they have meaning. ... > I would think there is no particularly good technical reason to> reserve those characters. ...
    (microsoft.public.windowsxp.customize)
  • Re: not listening
    ... clearly understand what "listening" means in terms of TCP/IP communication? ... We have no reason to expect that the original poster is using a POSIX ... suppose that the original poster might be using Microsoft Windows XP. ...
    (comp.security.firewalls)
  • Re: system calls
    ... If you are writing a WIndows App, you are expected to program it using the Windows ... If you are writing a POSIX app, use the POSIX API, and be prepared for whatever it ... to a Unix API, should I write to Gnome, or KDE, or what? ...
    (microsoft.public.vc.mfc)
  • Re: DOS Newline Character
    ... > have to deal with this, it's worth pointing out that the Windows NT ... > Linux has not passed POSIX compliance, nor is it likely ever to. ... basic level of POSIX conformance, and that the implementation leaves a ... Printing on GNU/Linux? ...
    (alt.os.linux)
  • Re: DOS Newline Character
    ... > have to deal with this, it's worth pointing out that the Windows NT ... > Linux has not passed POSIX compliance, nor is it likely ever to. ... basic level of POSIX conformance, and that the implementation leaves a ... Printing on GNU/Linux? ...
    (comp.os.linux.misc)