Monday, March 28, 2011

How to Hide / Lock Folder and File with MS-DOS

Hello again all !
Welcome to my Blog!

Ehm,
Ok, now i'll share to you How to Hide or Lock Folden and File with MS-DOS.
Lets start,
  • Open "Notepad" ( Start > All Programs > Accessories > Notepad / run > type "notepad" )
  • Copy This script into Notepad :
    CLS
    @ECHO OFF
    Title Folder Folder-leo
    If EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto ASK
    If NOT EXIST Folder-leo goto MDFOLDER
    :CONFIRM
    Echo Do you want to lock this folder? ? (Y/N)
    Echo Press [Y/y] or [N/n].
    Set/p "cho=>"
    If %cho%==Y goto KEY
    If %cho%==y goto KEY
    If %cho%==N goto END
    If %cho%==n goto END
    Goto CONFIRM
    :KEY
    Ren Folder-leo "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    Attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    Echo Folder-leo has been locked
    Goto End
    :ASK
    Echo Input password to open this folder!
    Set/p "pass=>"
    If %pass%== 123456 goto OPEN
    If NOT %pass%== 123456 goto WRONG
    :OPEN
    Attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    Ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Folder-leo
    Echo Folder has been opened
    Pause
    Goto End
    :WRONG
    Echo The Password do you entered is Wrong!!
    Pause
    Goto End
    :MDFOLDER
    Md Folder-leo
    Echo Folder has successfully created.
    Pause
    Goto End
    :End
  • The default password to access your folder is "123456". To change it, replace "123456" with your password.
  • Save with ".bat" extension.
Ok, now open your ".bat" extension file, then will automatically create its own "Folder-leo" folder,. Put your file into "Folder-leo" folder. Open your ".bat" extension file, and press "Y" if you want to lock your folder. Open your ".bat" extension file again to unlock your folder, and input the password.

Ok, that's all. Thank's for visit my blog!
I hope you enjoy it. If there any question, please leave a comment below.
Bye! See you next time! Good Luck!
See ya! :D

From : Http://hacker-newbie.org

0 Comments:

Post a Comment

 

PRTMZX Copyright © 2011 Community is Designed by Bie Blogger Template