- Posts: 227
- Thank you received: 0
windows can't creat folder named "con"
19 years 1 month ago #10692
by apit
Replied by apit on topic Re: windows can't creat folder named "con"
ermmm..
i just guest the "con" is variable for the operating system
maybe wrong understanding..
i just guest the "con" is variable for the operating system
maybe wrong understanding..
19 years 1 month ago #10697
by Arani
Picking pebbles on the shore of the networking ocean
yes..um well whatever way you look at it, all those names i told you about earlier, are reserved. a user cannot name anything on their system using those names. this is to protect certain system integrity as the system itself uses those names to access or manipulate variables, or data for its own use.
Picking pebbles on the shore of the networking ocean
19 years 1 month ago #10699
by jhun
Replied by jhun on topic Re: windows can't creat folder named "con"
actually con, and all the other words mentioned are all reserved DOS reserved words. but if you really want to make a con folder try this one out using the command prompt:
[code:1]
##to create the con folder
C:\mkdir \\.\c:\con
##to delete this directory
C:\rd /S /Q \\.\c:\con
[/code:1]
hope this helps
[code:1]
##to create the con folder
C:\mkdir \\.\c:\con
##to delete this directory
C:\rd /S /Q \\.\c:\con
[/code:1]
hope this helps
19 years 1 month ago #10704
by apit
Replied by apit on topic Re: windows can't creat folder named "con"
jhun..nice info
can you explain how the command work?
can you explain how the command work?
19 years 1 month ago #10706
by jhun
Replied by jhun on topic Re: windows can't creat folder named "con"
actually it is like tricking the OS. back in the early days when someone tries to create a "con" folder using the code it would crash their system since the word used is a reserved DOS word. if you would look at the code carefully you would see that it is like creating a folder across a network but actually reverts back to the root drive of the local machine. the "\\." is like a UNC path to the local machine which probably somehow allows the user to create folders with reserved DOS parameters as names.
18 years 11 months ago #12115
by gainil
Replied by gainil on topic Re: windows can't creat folder named "con"
Nice Info JHun !!
i was able to make a folder named con on the c:\
but if u try to change into the folder from dosprompt it simply says "The system cannot find the path specified". Was able to browse the folder from windows explorer, but not able to copy anything into it it says "Access is deined ! Disk is full or write protected" cant even delete from windows unless used the dos command sent by u.
anyways great piece of info
Cheers
i was able to make a folder named con on the c:\
but if u try to change into the folder from dosprompt it simply says "The system cannot find the path specified". Was able to browse the folder from windows explorer, but not able to copy anything into it it says "Access is deined ! Disk is full or write protected" cant even delete from windows unless used the dos command sent by u.
anyways great piece of info
Cheers
Time to create page: 0.143 seconds