Hot Downloads

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: windows can't creat folder named "con"

windows can't creat folder named "con" 11 years 1 month ago #10673

  • apit
  • apit's Avatar
  • Offline
  • Senior Member
  • Posts: 227
  • Karma: 0
why windows (i'm using xp pro) cannot create folder named "con"
i've try many time and the folder will named as " new folder"
why is it happen?
The administrator has disabled public write access.

dunno.... 11 years 1 month ago #10674

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Posts: 745
  • Thank you received: 10
  • Karma: 4
The bug has been tried and tested in both Windows XP Home and Professional. If you try to make a folder named "CON" (case insensitive), Windows XP renames it back to what it was. So creating a new folder with the name "CON" just renames it to "New Folder".

The bug seems like a variable that got treated as a string or vice-versa. Trying to create the folder from a cmd prompt failed with an error "The directory name is invalid.".

This also works when you try to create a file called "CON", or "CON.". ".CON" shows up the way it should.

If you create a folder named "CON" on a linux filesystem say, and open up a samba share of it, the "CON" directory shows up as being "CSHOFG~F". A "CON." file or folder shows up as "CRW2KU~B"! Very Strange! But this is not about linux we should be talking about!!!

its only possible to name a directory as 'con' if you put something between any of the alphabets, like a space, or a punctuation, but that defeats the purpose totally right??!!??

Somebody at Microsoft willing to explain?
Picking pebbles on the shore of the networking ocean
The administrator has disabled public write access.

a plausible reason that i think is right 11 years 1 month ago #10676

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Posts: 745
  • Thank you received: 10
  • Karma: 4
The following reserved device names cannot be used as the name of a file:

CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.

they have been reserved for system purposes, and they are handled by they system. so to avoid duplicates being created by any user and mucking it up for the OS, they have been reserved!!!

if you would like to check each and every one of the list i mentioned above, try renaming a folder with any of the names above...and guess what?? :D they all reset themselves as 'new folder'!!!
Picking pebbles on the shore of the networking ocean
The administrator has disabled public write access.

an addition 11 years 1 month ago #10681

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Posts: 745
  • Thank you received: 10
  • Karma: 4
and it goes the same for folder names as well. so now you know why you cannot have 'con' as your folder name.
Picking pebbles on the shore of the networking ocean
The administrator has disabled public write access.

Re: windows can't creat folder named "con" 11 years 1 month ago #10688

  • apit
  • apit's Avatar
  • Offline
  • Senior Member
  • Posts: 227
  • Karma: 0
so that mean, all the character is variable define for the system
is it?
The administrator has disabled public write access.

?? 11 years 1 month ago #10691

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Posts: 745
  • Thank you received: 10
  • Karma: 4
explain the term 'variable define'
Picking pebbles on the shore of the networking ocean
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.078 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup