Pages





Creating An Undeleateable Folder

  • Open command prompt.
  • change to the directory in which u want to make folder.
  • type
  • mkdir .\con\\
  • Or
  • Md .\con\\
  • You can choose folder name from the name given below
  • CON
  • LPT1
  • LPT2
  • LPT3
  • LPT4
  • LPT5
  • LPT6
  • LPT7
  • LPT8
  • LPT9
  • AUX
  • -----------------------
  • Logic behind this is : IN Windows above names are researved words and you cann't create folder or file
  • with above name. Once you will create the folder nobody will be able to delete it in normal way.
  • have tested it with XP 2000 and 2003. Windows 98 is currently not available to me for testing.
  • If you can test it on Windows 98 then please do it and let me know the result. I expect it to work.
  • to create that folder u have typed
  • mkdir .\con\\
  • Or
  • Md .\con\\
  • right......!
  • now to remove that folder u have to type
  • rd .\con\\
  • ok....!

No comments:

Post a Comment