I can tell you that in the Win95/NT command line "dir c:" gives you the contents of
the default directory on the C: drive no matter what
your current drive or directory is, and "dir c:\" is the only way to
always get the root of C:.
You can also change the current directory of a drive
without "logging" (as they say) to that drive using something
like "cd c:\" (this example changes the C: default dir to the root),
after which "dir c:" would be equivalent to "dir c:\".
As to the behaviour changing with the locale of the script,
I think that might need a bit more investigation, I've not
gone after such a bug but I also haven't notice one in many
years of DOS/Win Perling...
Update ...actually confirmed this behaviour at the NT command line also.
--
I'd like to be able to assign to an luser
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.