command line (WinXP)

Miki Tebeka tebeka at cs.bgu.ac.il
Sun Jul 6 12:13:31 CEST 2003


Hello Egor,
> So, why _dir /p_ and _dir "/p"_ work not identically? Whereas _ren 1 2_ and
> _ren "1" "2"_ work identically.
In windows, the expansion of wildcards and special characters is done
by the program and not by the shell.
This means that in the first usage dir sees a /p parameter where in the 2'nd
usage it looks for a file named "/p".

HTH.
Miki




More information about the Python-list mailing list