Saturday, 31 October 2015

In delete folder

1. Create a Undeletable And Unrenamable Folders In Windows :
  ·       Go to Start and then Click on Run
  ·       Type cmd & hit enter (To open Command Prompt).
  ·       Remember you cannot create Undeletable & unrenamable folder in your root directory (i.e. where the windows is installed) That means you can't make this kind of folder in C: drive if you installed windows on C:
  ·       Type D: or E: and hit enter
  ·       Type md con\ and hit enter (md - make directory)
  ·       You may use other words such as aux, lpt1, lpt2, lpt3 up to lpt9 instead of con in above step.
  ·       Open that directory; you will see the folder created of name con.
  ·       Try to delete that folder or rename that folder windows will show the error message.
      How to delete that folder?
     It is not possible to delete that folder manually but you can delete this   

     folder by another way mentioned below.
Open Command Prompt
Type D: ( if u created this type of folder in D: drive) & hit enter
Type rd con\ (rd - remove directory)
Open that directory and the folder will not appear because it is removed.




2. Password Protect Folder without using any software:
  ·       Open Notepad and Copy code given below into it.

    cls
    @ECHO OFF
    Title sourav1up.blogspot.com
    if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-

    08002B30309D}" goto UNLOCK
    if NOT EXIST MyFolder goto MDMyFolder
    :CONFIRM
    echo Are you sure to lock this folder? (Y/N)
    set/p "cho=>"
    if %cho%==Y goto LOCK
    if %cho%==y goto LOCK
    if %cho%==n goto END
    if %cho%==N goto END
    echo Invalid choice.
    goto CONFIRM
    :LOCK
    ren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-

   08002B30309D}"
    attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-

    08002B30309D}"
    echo Folder locked
    goto End
    :UNLOCK
    echo Enter password to Unlock Your Secure Folder
    set/p "pass=>"
    if NOT %pass%== admin goto FAIL
    attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-
   08002B30309D}"
    ren "Control Panel.{21EC2020-3AEA-1069-A2DD-

    08002B30309D}" MyFolder
    echo Folder Unlocked successfully
    goto End
    :FAIL
    echo Invalid password
    goto end
    :MDMyFolder
    md MyFolder
    echo MyFolder created successfully
    goto End
    :End

  ·       Save the notepad file as lock.bat (.bat is must)
  ·       Now double click on lock.bat and a new folder will be created with name MyFolder
  ·       Copy all your data you want to protect in that New folder
  ·       Now double click on lock.bat and when command promp appears  Type Y and press enter.
  ·       Now MyFolder will be hidden from you view, to access that folde double click on lock.bat
  ·       It will ask for password enter your password and done. (Default password is admin)

    To change the password replace Admin with  new password in the above code.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.