Jump to content

Archived

This topic is now archived and is closed to further replies.

neoform

Windows Directory Madness

Recommended Posts

So i found out the hard way, when it comes to creating directories: mkdir()  windows systems refuse to make directories with the names "con" or "prn".. instead mkdir throws a fatal error even when you suppress them..

you can actually try this on your desktop, try making a directory with the name "con" or "prn"..

anyone know why this is?

Share this post


Link to post
Share on other sites
they are reserved names, for use with filesystem management by windows.

Share this post


Link to post
Share on other sites
hah WEIRD!
i asked my sys admin and he says windows uses prn for printers and con for soemthign else.
even thoguh those folders dont seem to be hidden, they are reserved by windows?

Share this post


Link to post
Share on other sites
con apparently means: com port

these are DOS limitations apparently.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.