Search This Blog

Wednesday, November 17, 2010

MAKING FOLDER WITH NAME "CON"

Q:
Can u create folders with name like con, prn, nul, com1 to com9 and lpt1 to lpt9 ?
Ans:
The answer is yes but it can't be done in usual way b'coz these all denotes windows reserved keywords .Back in the older times of DOS these names denotes devices. CON meant console. As in one system you can't have two consoles that why you can't create it! same way with COM, LPT ...

So to create it just follow these steps:-----

  • Open RUN
  • Type cmd and press enter

  • Go to directory where u want to create this folder named con.

  • Now type
md con\ and hit enter

u r done now and ur folder with name con is created in ur wished directory.

// in one directory u can create only one folder named con


TO DELETE IT

follow same steps but replace command

md con\

with

rd con\

No comments:

Post a Comment