Some more notes

Peter Hansen peter at
Mon Oct 25 00:58:06 CEST 2004

Jorgen Grahn wrote:
> On Sat, 23 Oct 2004 10:01:00 -0400, Peter Hansen <peter at> wrote:
>>That's not necessary in almost all cases.  Windows happily(*)
>>accepts forward slashes in all system calls.  The only place
>>it does not is in the *shell* (aka and cmd.exe).
> IIRC, forward slashes have been acceptable since way back in early MS-DOS --
> although someone somewhere on Usenet suggested that Microsoft have never
> commited to keeping it that way.

I know that there was an un(der)documented control somewhere that
allowed one to change even DOS to accept hyphens in place of
forward slashes as the "switch" indicator for command line options,
but this is the first time I've heard it suggested that even
the DOS "APIs" (I use the term loosely... the interrupt routines
barely qualify for that title :-) ) would allow forward slashes
as the Windows APIs (always?) have.

Does anyone have a reference for that?


More information about the Python-list mailing list