Home User CP Browse Members Calendar Register Today!  
Get New posts Faq / Help?
   

Not A Member Yet? Register today and become part of the community.

Go Back   Profuse Host Forum > PC Technology Zone > Windows Operating System and Software

Windows Operating System and Software Windows news, software discussion, windows related software etc..

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-30-2007, 03:08 AM
bizzard
Status: Offline
Senior Member
 
Join Date: Jan 2006
Location: A small remote village in Kerala, India
Posts: 395
bizzard is on a distinguished road
Send a message via MSN to bizzard Send a message via Yahoo to bizzard
Post Why can't we create a FOLDER or FILE named "CON"?

Here is a fact that nobody can create a FOLDER or FILE anywhere on the computer(Windows Operating System) which can be named as "CON". It can be in upper or lowercase or a combination of both. Tried it in Windows 98 and XP. Windows is not accepting it. It shows an error message that a file already exist but we can't find it anywhere.



But, we can name FOLDER or FILE as a group of words containing the word “con”. Do anybody know the reason for this? Is it something related to the DOS command “copy con”?
Attached Thumbnails
why-can-t-we-create-folder-file-named-con-con-error.jpg  
__________________
At last a domain for myself.... www.tvmanukrishnan.uni.cc

Check my personal blog @
blog.tvmanukrishnan.uni.cc

My pet project:
Reply With Quote

  #2 (permalink)  
Old 05-30-2007, 11:53 PM
Planetgaming_org
Status: Offline
Member
 
Join Date: Jan 2007
Posts: 34
Planetgaming_org will become famous soon enough
Default

It is because COM1, CON, LPT1 etc are device names and cannot be used as file names. They are reserved words. But you can create a folder with the name con.

Click on Run in the Start Menu
Type cmd.
In the cmd window type md \\.\\c:\con. This will create a folder named con in the C drive.
This folder cannot be deleted from windows explorer
To delete it you need to use the command
rd \\.\\c:\con
You can replace c:\con with the path where you want to create/remove the folder.
Reply With Quote

  #3 (permalink)  
Old 05-31-2007, 05:15 AM
bizzard
Status: Offline
Senior Member
 
Join Date: Jan 2006
Location: A small remote village in Kerala, India
Posts: 395
bizzard is on a distinguished road
Send a message via MSN to bizzard Send a message via Yahoo to bizzard
Default

Thanks for giving this information...
Can you please list other names of files or folders which cannot be created using windows explorer? Creating files and folders from DOS by using alt+number key combination, some names are seen in windows but not accessible egalt+256). why this happens? Also is such a problem there in Linux?
__________________
At last a domain for myself.... www.tvmanukrishnan.uni.cc

Check my personal blog @
blog.tvmanukrishnan.uni.cc

My pet project:
Reply With Quote

  #4 (permalink)  
Old 05-31-2007, 04:51 PM
Planetgaming_org
Status: Offline
Member
 
Join Date: Jan 2007
Posts: 34
Planetgaming_org will become famous soon enough
Default

Files with */ + | \ = ? [ ] ; : " . < > , in their names cannot be created because they have special meaning in dos. Also CON, PRN, AUX, CLOCK$, NUL,COM0, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9,LPT0, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9 cannot be used as file names.
Linux uses a different File System than Windows, hence these restrictions dont apply to Linux. But you may not use / as a file name in linux.
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
Yappers, Who here plays "BlackJack" or "21"? Aref H4 Travel 0 07-07-2008 10:18 AM
Is there an educational Institute named "The Akademia" in Los Angeles? raju a Higher Education (University +) 0 03-23-2008 01:47 PM
When to use "Latin America" as opposed to "South America"? Mos Def Travel 0 03-20-2008 04:04 PM
When I click "search for media servers" on ps3, it freakin keeps saying "none found" Booya85 Playstation 1 07-24-2007 12:27 PM
when I do the "install.php",it says:"Forbidden" santos Free Web Hosting Support 1 08-04-2006 10:44 AM


All times are GMT -7. The time now is 09:23 PM.

Skin Design By vBSkinworks



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Sponsored by Web Hosting


Profuse Solutions LLC

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80