Site Statistics
 
Threads: 3,718
Posts: 16,702
Members: 2,844
Users Online: 12
Newest Member: Boydaysop


Go Back   PC101 > PC Software > Windows Vista, XP, 2000, 98, etc...

Windows Vista, XP, 2000, 98, etc... Questions, comments, news about Windows Vista, XP, 2000, ME and all the rest!

Reply
 
LinkBack Thread Tools Display Modes
Old 11-30-2005, 11:37 AM   #1
kareja
Member
 
Join Date: Nov 2005
Posts: 140
Rep Power: 3 kareja is on a distinguished road
Reserved filenames in Microsoft Windows

Nobody can create a folder anywhere named as "con".
Not only "con" but you can not create folder named as "aux" and "nul".
This is something pretty cool...
Try it out yourself........

I have no answer for this, I dont why this is so... If anyone have an answer please post it ,so that i can trick some of my friends who claims themselves are best Windows users :lol:
kareja is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-30-2005, 12:13 PM   #2
Will.Spencer
Distinguished Member
 
Join Date: Jul 2005
Posts: 2,208
Rep Power: 5 Will.Spencer is on a distinguished road
This is because CON, AUX, an NUL are all aliases for hardware devices.

For the same reason, you cannot create a folder named "COM1".
Will.Spencer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-30-2005, 12:45 PM   #3
sinja
Member
 
Join Date: Nov 2005
Posts: 132
Rep Power: 3 sinja is on a distinguished road
What do you mean by hardware device aliases???
All these days, I thought they had to do something with the Kernel variables.
Does this apply to any other operating system too? I have used much of the others.
sinja is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-30-2005, 01:04 PM   #4
kareja
Member
 
Join Date: Nov 2005
Posts: 140
Rep Power: 3 kareja is on a distinguished road
I found a workaround for this in this thread
http://kerneltrap.org/node/5772

"mkdir \\.\C:\con"

Type that at command prompt(without quotes) and go to C:\ and check out.

Earlier I was not able to delete such a folder which I created using the above method.

To delete such a folder, type :

"rename \\.\c:\con xcon"

and

Then you can delete the "xcon" folder manually , in a method of your choice.
kareja is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-10-2005, 10:35 AM   #5
n3rdych1ck
Member
 
Join Date: Dec 2005
Location: Oregon, USA
Posts: 114
Rep Power: 3 n3rdych1ck is on a distinguished road
Send a message via AIM to n3rdych1ck Send a message via MSN to n3rdych1ck Send a message via Yahoo to n3rdych1ck
WEIRD! I did not know that about windows! I guess we learn new stuff everyday, huh?
n3rdych1ck is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-10-2005, 01:08 PM   #6
kelp
Senior Member
 
Join Date: Dec 2005
Posts: 172
Rep Power: 3 kelp is on a distinguished road
I've never heard about that before. Why exactly doesn't it let you create those types of folders? Since you CAN create that type of folder in a command prompt, does it affect anything?
kelp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-10-2005, 08:17 PM   #7
Will.Spencer
Distinguished Member
 
Join Date: Jul 2005
Posts: 2,208
Rep Power: 5 Will.Spencer is on a distinguished road
Those names are reserved by the operating system because they are existing names for hardware devices. It's a legacy behavior from old DOS.

They cannot be created (normally) even at the command line.
Code:
C:\>md CON
The directory name is invalid.

C:\>
Will.Spencer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-11-2005, 04:59 PM   #8
Bender
Senior Member
 
Join Date: Oct 2005
Posts: 161
Rep Power: 3 Bender is on a distinguished road
I didn't know this.

I'm glad my name isn't Con and I wanted to make some folders for myself. What if there was a user called Con?
Bender is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-11-2005, 11:36 PM   #9
Will.Spencer
Distinguished Member
 
Join Date: Jul 2005
Posts: 2,208
Rep Power: 5 Will.Spencer is on a distinguished road
My name is Will, but I don't have any folders named "Will." :lol:
Will.Spencer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Top Ten New Features in Windows Vista Cedric Windows Vista, XP, 2000, 98, etc... 0 01-10-2007 04:29 PM
Makling your computer Windows Vista Capable!! Lyte Windows Vista, XP, 2000, 98, etc... 1 12-25-2006 09:38 AM
Windows XP Errors & Fixes ( most common errors ) asterix Windows Vista, XP, 2000, 98, etc... 4 08-21-2006 09:09 AM
"Why Windows Vista Won't Suck" Lyte News, events, alerts and more! 1 03-12-2006 02:35 PM
Ten Reasons to Buy Windows Vista Lyte News, events, alerts and more! 6 03-01-2006 06:29 PM



Flex Development


Our partners:



All times are GMT -5. The time now is 10:17 PM.

Powered by vBulletin Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
Design by vBSkinworks

Copyright © PC101 and PC101.com Computer Forum. All rights reserved.