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:
    title Gurjeetz Folder Locker
    if EXIST locked goto unlock
    if NOT EXIST Locker goto MDLOCKER
    echo Are you sure u want to Lock the 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
    title Locking folder
    ren locker locked
    attrib +h +s locked
    cacls locked /d EVERYONE
    echo Folder locked
    goto End
    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
    echo Folder Unlocked successfully
    goto End
    echo Invalid password
    goto end
    md Locker
    echo Locker created successfully
    goto 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