Help! There's a slash '/' in my filename.

uunet!bria!mike uunet!bria!mike
Fri Feb 22 04:23:34 AEST 1991


In an article, rob at aeras.UUCP (Rob Rogers) writes:
>Good 'ole DOS uses "\". It doesn't think twice about a / in a filename.

I may be wrong about this with the current DOS, but many moons ago when I
was (nauseatingly enough) working with this particular program loader, both
the backslash and forward-slash were valid path delimiters.  Passing forward-
slashes to the open or create function worked.  In fact, there is an
undocumented function that will change the switch character so that COMMAND.COM
will allow the forward-slash on the command line.

To the best of my knowledge, the slash in either incarnation is not allowed
in DOS filenames.  If this has changed, please correct me.

Cheers,
-- 
Michael Stefanik, MGI Inc., Los Angeles| Opinions stated are not even my own.
Title of the week: Systems Engineer    | UUCP: ...!uunet!bria!mike
-------------------------------------------------------------------------------
Remember folks: If you can't flame MS-DOS, then what _can_ you flame?



More information about the Comp.unix.questions mailing list