473,508 Members | 2,079 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can't create folder!! and regards

16 New Member
why i can't create a folder named "con" in Windows XP?
& how to create a folder that has no name (ie; in explorer that name doesn't appear)!
Feb 19 '08 #1
7 3287
AmberJain
884 Recognized Expert Contributor
why i can't create a folder named "con" in Windows XP?
& how to create a folder that has no name (ie; in explorer that name doesn't appear)!
__________________________________________________ _____________
you can't create folder with name "con" in windows as it is the name of device driver mentioned in the file IO.sys.
Well, there are more to this list. Check them out-------->
con
prn
aux
nul
com1 com2 com3
com4 com5 com6
com7 com8 com9
lpt1 to lpt9

__________________________________________________ ____________
FOLDER WITH NO NAME
type alt+0160 on right numpad on keyboard.
Feb 19 '08 #2
AmberJain
884 Recognized Expert Contributor
why i can't create a folder named "con" in Windows XP?
& how to create a folder that has no name (ie; in explorer that name doesn't appear)!
__________________________________________________ ______________
Well, I already posted my reply in this thread [check out #2 above]. But I thought it was not sufficient and so my this reply has more information [and is probably better].

Que - 1 Why one cannot create a folder with name con in windows OSes?

ANSWER - The first OS in windows family [probably windows 95 was first one] was based on MS-DOS (short for Microsoft Disk Operating System). MS-DOS was based on three files basically----->
(a) io.sys
(b) command.com
(c) msdos.sys
The file io.sys contained information about device drivers for various devices and contained following words in it:
__________________________________________________ _____________
__________________________________________________ _____________
NAME--------------------------------------------STANDS FOR (probably)
con --------------------------------------------console
nul --------------------------------------------Bit-bucket device
prn --------------------------------------------print or printer
aux -------------------------------------------auxiliary
CLOCK$ ----------------------------------------System real-time clock

com0 -------------------------------|
com1--------------------------------|
com2--------------------------------|
com3--------------------------------|
com4--------------------------------|---------->COM ports
com5--------------------------------|---------->(serial communication prot)
com6--------------------------------|
com7--------------------------------|
com8--------------------------------|
com9--------------------------------|

lpt0-----------------------------------|
lpt1-----------------------------------|
lpt2-----------------------------------|
lpt3-----------------------------------|
lpt4-----------------------------------|---------->LPT ports
lpt5-----------------------------------|---------->parallel printer port
lpt6-----------------------------------|
lpt7-----------------------------------|
lpt8-----------------------------------|
lpt9-----------------------------------|
__________________________________________________ _____________
__________________________________________________ _____________
If you try to name a folder using one of these reserved names, the name will automatically revert to the default, generally "New Folder". Moreover, if you try to use a reserved name to name a file such as a Notepad or Microsoft Word document you will generally receive an error message similar to the following:

"con-This filename is a reserved device name-Please choose another name"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{CHECK OUT ATTACHED IMAGE}

Depending on exactly how you save the file, you may instead receive a warning message advising that a file with that name already exists. However, even if you choose "Yes" to overwrite the existing file, you will still not be allowed* to save the file.


~Note~: It may be possible to create a folder using a reserved name via the command prompt. However, this may cause other problems and is not advisable.

The file IO.sys can still be found ---> C:\io.sys. But while you are logged on to windows you would not be able to view it's contents (i don't know reasons for this, probably Microsoft wanted to save the file from getting damaged), it's file size is shown as 0 bytes. But if you boot up using any OS other than one belonging to windows family of OSes you can view it's contents using any text viewer and you will certainly see all names mentioned above there.

__________________________________________________ ______________

Que 2 - How to create a folder that has no name?

ANSWER -
1. Just create a new folder or right click any folder and click "rename"
2. Hold down ALT key and press 0160 (i.e. ALT+0160) on the right numeric keypad on your keyboard and then release ALT.
~Note here that if you press 0160 on the numbers buttons above alphabet keys on keyboard this will not work.
3. Press ENTER (or return) and you will get what you wanted.

To make multiple folders with no name, simply repeat STEP 2 above as many times as you want before STEP 3.
__________________________________________________ ______________
If you don't get it tell me, I will explain in greater detail
__________________________________________________ ______________
HOPE THIS HELPED......................
ambrnewlearner
Feb 20 '08 #3
AmberJain
884 Recognized Expert Contributor
__________________________________________________ _______________
Well recently I found more. READ ON

If you make a HTML document (i'm not much used to html and therefore if there is any mistake in code below, do tell me)and put something like this in it :

<a href="C:\con\nul">CRASHED</a>

and then click on this link in Internet Explorer then many of "ANCIENT" Windows OSes (windows 95 and 98 probably) crashes. This has been fixed in XP.

__________________________________________________ _______________
Also typing following in address bar of windows explorer and pressing enter also crashed some windows OSes (95, 98 probably) :

C:\con\nul
__________________________________________________ _______________
You can test above tricks with other combination of addresses such as:
c:\nul\con
c:\aux\con
c:\con\aux
etc.
__________________________________________________ _______________
Feb 20 '08 #4
sakthikumaran
16 New Member
Thank you! for you explantions..... thank you very much!
Feb 26 '08 #5
AmberJain
884 Recognized Expert Contributor
Thank you! for you explantions..... thank you very much!
You don't need to mention that.................
Just remember I'm always there to help anyone.
Feb 26 '08 #6
Nepomuk
3,112 Recognized Expert Specialist
@ambrnewlearner
Well, the first version of Windows was actually Windows 1.0 if I remember correctly. The first one I worked with was Windows 3.0 and that was a while before Windows 95 came out.

Apart from that, great explanations!

Greetings,
Nepomuk
Feb 26 '09 #7
AmberJain
884 Recognized Expert Contributor
Hello,
@Nepomuk
You are right. Thanks for updating me:)

AmbrNewlearner
Mar 1 '09 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3119
by: Chris Asaipillai | last post by:
Ok i have a Visual Basic Group of projects contaiining the following Talk Talk.vbp (Visual Basic Project) and the main application 3 DLLS inc Import Files Login Audit Render
2
7097
by: sonu | last post by:
I am tring to create activexobject like var Fo =new ActiveXObject("Scripting.FileSystemObject"); but i am finding error that automation server cant create object any help
7
2226
by: Dave Elliott | last post by:
I have a db that is split and shared on the network. I gave the user a custom menu to use. We both use the same tables of course. On my PC I can create new records using their menu on my PC, on...
1
2796
by: sajithm | last post by:
Hi all, I have a problem while trying to create folder and files in a remot storage server using asp.net. Actually I was trying with filesystem object and this says bad usernam and passeord,....
3
2948
by: Steve Richter | last post by:
running a simple vbscript in an .htm page that starts excel and loads the spreadsheet with the contents of a <table> ... </table> getting an "Error: ActiveX component cant create object....
1
2122
by: erotikaboi | last post by:
Guys, Firstly let me say I am a photographer so if you can offer me a solution I will really appreciate it in simple english not techiespeak as I wont understand it. Thanks. Ok, I am using Access...
1
3966
by: deepaks85 | last post by:
Dear Sir, I have written a php script to create folder : <?php $targetpath = $_SERVER . "/reports/"; $target = $targetpath . basename( $_FILES); mkdir($targetpath.$vName,0700); ?>
0
2036
by: mrinalaryan | last post by:
create folder & upload file in the web server through web service-C# -------------------------------------------------------------------------------- im using web service to connect windows form...
2
1386
by: shona | last post by:
Hello friends.., I want to create folder on server from client machine using Asp.net... My problem is that i have done coding it run properly but whenever i ran that application from IIS...
2
7955
by: Noorain | last post by:
sir how to create folder to use php script? i know how to file upload in folder to use php. but i can't how to create folder. i type name & its create my folder. Example: Type: test. my...
0
7328
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3199
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1561
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
422
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.