Tuesday, April 21, 2009

Lock Any folder Without Any Software with Password

lock folders without any software, with passwords
1) first of all copy the following code in notepad from cls line.
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
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.
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md Locker
echo Locker created successfully
goto End

2) Now you can see "type your password here" in the code (23rd line) . Delete that and type in your password there.
3) save this file with any name and extension ( .bat)
4) Now double click the batch file. It will create a folder named "Locker"
5) Put all the files u want to lock in that folder
6) Now double click on the batch file to lock the folder.
7) Now if you want to unlock the folder double click that batch file again and you will be prompted for password.

Note:- Such Folder can be open........to know........post comment with your E-mail Id

SharePoint document metadata not updating

I faced a weird issue today, Metadata for document which has lookup column was not updating even after saving the item. There was no erro...