473,322 Members | 1,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes and contribute your articles to a community of 473,322 developers and data experts.

How to create & delete Folders like CON, COM1, PRN, AUX, CLOCK$, NUL in Windows XP

1
We cannot make folders of these names because they are reserved for DOS prompt. But we can create and delete those with the help of DOS only.

To create folder named 'con': Go to the command prompt and use the following commands:

Expand|Select|Wrap|Line Numbers
  1. c:\>mkdir \\.\c:\con  or  c:\>md\\.\c:\con
To delete folder named 'con': Go to the command prompt and use the following procedure:

Right-click on the folder CON
Go to the Advanced options
Un-check the Index Services then enter the following commands:

Expand|Select|Wrap|Line Numbers
  1. c:\>DEL \\.\c:\con
or

Expand|Select|Wrap|Line Numbers
  1. c:\>rmdir \\.\c:\con


Regards:
Thakur Rahul Pratap Singh
Developer & Tester
Dec 30 '11 #1
0 17496

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

Similar topics

3
by: Jerry | last post by:
Hi All: Is there any way I can get my script to be able to create and CHMOD folders and files??? I always get the following error: mkdir(TESTDIR): Permission denied in /usr/www/users... Is...
3
by: Pete Gomersall | last post by:
Hi All, I have seen many examples of deleting folders with subfolders and files. (system.io.directory/info etc delete method) However, I cannot find a decent code example which will work where...
13
by: forbes | last post by:
Hi, I have a user that used the Query Wizard to create a query in Access. Now she claims that her master table is missing all the data that was excluded from the query. Can you create anything...
0
by: bendavid | last post by:
Hello, I work on WinXP SP1. with VB6 - MS-Access(VisData). I created a setup.exe using Package and Deployment Wizard for VB 6. But when the program is installed all the files are installed to...
3
by: Tony Girgenti | last post by:
Hello. Can i safely delete the files and folders in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files? Any help would be gratefully appreciated. Thanks, Tony
9
by: kuzure | last post by:
Dear friends, I had host a server and now I have some problem. I want to click on my web page and delete certain files in my computer. For instance, there is .txt file in my C Drive and I want...
4
by: darsh999 | last post by:
I have started learning SQL server...please help me to tell me how to create and delete table in a database!!
1
Jezternz
by: Jezternz | last post by:
Scriptaculous needs an official forum but does not have one so I am asking here :). note you will need to be familiar with scriptaculous to help me here. Basicly I have a script that has a...
1
by: swethak | last post by:
hi, We need to make the changes to the folders as follow: Domain Name Super Admin Dealer = domain.com/dealer/ID/pagename Dealer = domain.com/dealer/ID/admin
1
by: Eran Hefer | last post by:
With SharePoint timer jobs you can create & execute processes on a daily / hourly / minutely basis. After deployment, the timer job definition executes your custom code. The easiest (and more...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.