Sunday 9 June 2013

Make Folder Lock using BAT FIle


1.Copy and paste the code in notepad


cls
@ECHO OFF
title Folder locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST locker goto MDLOCKER
:CONFIRM
echo Are you sure you 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%== pass 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
echo locker created successfully
goto End
:End


Save it then a locker.bat


2.For the first time if you click on the bat file,it will create a folder named locker


You can paste your secret file in locker then again click on the batch file




3.It will ask for confirmation 




4.Then after confirming it will lock the folder


See locker folder does not exist now


5.For unlocking you have again to click on the bat file,it will ask for a password,which is set as "pass",give the password and press enter.You can change the password in code.



Folder will be unlocked now...



Done...

Thank You for visiting...if you like the post click on +1 or like...
Join as member for more tricks...

Copy All files to a Specific Folder Batch Program

1.Open Notepad and paste the code 


@ECHO OFF
::variables
echo enter the source folder name
set/p "src=>"
echo enter the detination folder name
set/p "des=>"
set backupdir=%USERPROFILE%\Desktop\%des%
set backupcmd=%xcopy /s /c /d /e /h /i /r /y
if NOT EXIST %src% goto FAIL
%backupcmd% "%USERPROFILE%\Desktop\%src%" "%backupdir%"
echo copy succcessful...
pause
exit
:FAIL
echo source folder does not exsist
pause 1
goto end
:END
exit





Now save it as copy.bat

2.Double click on it.
3.If the source folder exsist then it will show the window



4.If the source folder does not exsist then it will show




Done...

Thank You for visiting...if you like the post click on +1 or like...
Join as member for more tricks...

Saturday 8 June 2013

Create EXE from BAT file

1.Create a bat file and save it.
Ex.
a.Open notepad
b.Type
@ECHO OFF
echo Hello
PAUSE

c.Save it as a.bat
2.go to the path
c:\windows\system32
search for the application : iexpress
3.Open the application and do the few steps what Im doing to make the .exe file



                                                   Click next & select Extract files only



                                                     Click next & give a package title



                                         click next again & write a confirmation message...



                                                                       click next




                         again click next,& press add button and select the particular bat file




select bat file click open then click next






Click next



Give a finish message and click next




Click browse and select a destination where to save the .exe file and give a name,then press save button and then next



                                                    select dont save and press next




                                                                           Click next



                                                                        Click finish
                              EXE file will be created successfully at your specified location


Done...

Thank You for visiting...if you like the post click on +1 or like...
Join as member for more tricks...











How to post Facebook stratus in flipped manner?


1. Go to Link
2. Enter your status
3. Paste it and post on facebook


How to enable GOD mode in windows?



1.Create a folder.
2.Rename it with -
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}





3.Now Double click on the folder








Done...now you have access all windows settings


Thank You for visiting...if you like the post click on +1 or like...
Join as member for more tricks...


How to make a Invisible folder?


Step 1:
Ridht click on the folder and click on rename



Step 2 :
Press backspace button



Step 3 :
Now hold the alt key and write 255
(in Numpad most important)
And then press Enter




A folder without a name is created now.
Step 4 :
Now to hide the yellow icon again right click on folder and click on properties



Step 5:
Properties window opens,now go to customize tab



Step 6 :
Click on change icon



Step 7:
Now select any empty icon and click ok



Step 8:
Then click on apply and then okNow it is done...looks like nothing is there..... 
:P



BUT



Now you can hide you secret files ( ;) ) from any one....

Thank You for visiting...if you like the post click on +1 or like...


Join as member for more tricks...


How to hide your drive using command prompt?


Step 1: Open command prompt or type cmd and open




Step 2: Type diskpart and press enter


Type list vol and press enter



Step 3: Now you have to select the drive which you want to hideFor example I want to hide E drive,for which the vol no is 2To do this this type :select vol 2
Press enter now
Step 4:Finally to hide the drive you have to type this:
remove letter e
I wrote e because I want to hide E: drive




So finally E:  drive is hidden in My Computer,try it you cant see it.

Before 

After 



Now to Bring it back,follow the same procedure,just the last copmmand will be changed with 

assign letter e





Thank You for visiting,If you like our post click on +1 or like


Join the blog for more Tricks... :)