locked
Cant Unlock the locked folder after format!!! RRS feed

  • Question

  • Friends i have locked a folder with simple batch command sometime back. it was working fine until i formatted my c drive yesterday now i m unlocking the folder it shows me the folder has been unlocked sucessfully but i still the folder is locked. i m using Windows XP SP3(Earliar and now). I have formatted only C drive and the Folder is placed in D drive. The OS is same as earliar even the installation CD is same. but still i m unable to access the folder. The Command by which i have locked the folder is as follow:
    cls
    @ECHO OFF
    title Gurjeetz Folder Locker
    if EXIST locked goto unlock
    if NOT EXIST Locker goto MDLOCKER
    :CONFIRM
    echo Are you sure u want to Lock the folder(Y/N)
    set/p "cho=>"
    cls
    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
    title Locking folder
    ren locker locked
    attrib +h +s locked
    cacls locked /d EVERYONE
    cls
    echo Folder locked
    pause
    goto End
    :UNLOCK
    title Unlocking
    echo Enter password to Unlock folder
    set/p "pass=>"
    if NOT %pass%==Rockon goto FAIL
    cacls locked /g EVERYONE:f
    attrib -h -s "locked"
    ren "locked" Locker
    cls
    echo Folder Unlocked successfully
    pause
    goto End
    :FAIL
    echo Invalid password
    goto end
    :MDLOCKER
    md Locker
    echo Locker created successfully
    Pause
    goto End
    :End

    Hopes a positive Reply
    Thanking u in your Anti-cipation
    Saturday, March 14, 2009 12:45 PM

All replies

  • You used manual method . If it was software , another installation was enough .
    Thursday, March 19, 2009 3:17 PM