Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: why cant we create CON folder/file ???

13 Jul 2011   #1
NRT

Windows 7 Ultimate 64-bit SP1
 
 
why cant we create CON folder/file ???

why cant we create CON folder/file ??? for what it refers to ??? plz share ur views...


My System SpecsSystem Spec
.
13 Jul 2011   #2
kado897

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bit Service Pack 1
 
 

That is because in windows & dos con is a reserved device name for console.
My System SpecsSystem Spec
13 Jul 2011   #3
NRT

Windows 7 Ultimate 64-bit SP1
 
 

Quote   Quote: Originally Posted by kado897 View Post
That is because in windows & dos con is a reserved device name for console.

ohhh... thanks for the bit.... have a great day....
My System SpecsSystem Spec
.

13 Jul 2011   #4
NRT

Windows 7 Ultimate 64-bit SP1
 
 

i just googled and found this info....


Not only CON but a number of other character strings are in fact reserved names that go back to the days of DOS and cannot be used to name folders or files. Other reserved names are:

* PRN
* AUX
* NUL
* LPT1
* COM1
* Potential drive letter - A: to Z:
* A number of others

Most of them are reserved device names...
My System SpecsSystem Spec
13 Jul 2011   #5
kado897

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bit Service Pack 1
 
 

Yes they are all reserved names. You would think however that Windows would be able to distinguish between a device and a folder these days.
My System SpecsSystem Spec
18 Jul 2011   #6
ericlw

all
 
 

"You would think however that Windows would be able to distinguish between a device and a folder these days"


well it has nothing to do with that.its a reserved name find a different naming scheme.
My System SpecsSystem Spec
18 Jul 2011   #7
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Never knew this I tried to name a folder con and prn and yup it said the device is invalid. In windows apparently, a device is a folder.
My System SpecsSystem Spec
Reply

 why cant we create CON folder/file ???




Thread Tools




Similar help and support threads
Thread Forum
Create txt file of folder contents
Hi Guys long time no see, hope you are all well I want to create an index of movies on a NAS drive. I have a folder G:\Shared Videos on a NAS which has 23 sub folders inside (Film Genres) and a total of 1100 .Mp4 movies spread across these folders. I need a .bat file I can run from inside...
General Discussion
Shortcut - Create for a File, Folder, Drive, or Program in Windows
How to Create a Shortcut of a File, Folder, Drive, or Program in Vista, Windows 7, and Windows 8 A shortcut is a link to an item (such as a file, folder, drive, or program) on your computer. You can create shortcuts and then place them in a convenient location so that you can easily access the...
Tutorials
How to create a current date folder using batch file?
Hi I am using following batch file for cleaning the desktop and also for taking backup of desktop: @echo off set curr_date=%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2% mkdir "%USERPROFILE%\My Documents\backup\%curr_date%_backup"
General Discussion
Batch file to create a folder with name of the time.
I'm trying to write a batch file that when run creates a folder named "Backup" followed by the time it was created, and then copies files to that folder. When I run md "C:\Users\MasterControlProgram\Documents\MC Server With Backup\Backups\Backup %DATE%\" xcopy /e /v /y...
Backup and Restore
How do I create file and folder pairs in Windows?
Is there a way to group some folder and files together so that when I move one of them, they all get moved to a new location together?
General Discussion
How to create a file in a folder?
I usually hang around fora dealing with antique farm equipment and always feels sorry for the guy who asks how to adjust the main jet on a Farmall H carb and two out of three responders tell him how to use the Search function. So I've spent a day or two worth of spare time searching through the...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:14.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App