Hello frndz, tonight i m gonna teach u how to keep ur information private from others.
In this tutorial i m gonna show u the how we could do awesome things with Batch Programming.
In this tutorial i m gonna show u the how we could do awesome things with Batch Programming.
All we know that there is many software on web, which come with file protection & other facilities.
But they come with trial period. so we can't use them for longer time.
But they come with trial period. so we can't use them for longer time.
But i m here to give u code give u to facility to hide/ protected. without third party software,with help of batch programming.
Example:-
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
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
:LOCK
ren Locker "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 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
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
Just type this code in notepad and save it as a Anyname.bat
here .bat is batch extension ,anyname=name u want to save.
After doing this u see a batch file with named u give it.
when double click on it u see a folder named as locker come out. the files u want to save put in it.
it ask u to save files or not press Y, to yes, n to no.
again doble click on it u see folder named locker is hided. can't show even u click on file properties and click show hidden file. so here we have advantage. no one can see ur information. when U click on the batch file it again come out.
if u like the trick please subscribe/like us on faceboook/or submit ur mail -u will get the updates via mail.
0 comments:
Post a Comment