Showing posts with label command prompt. Show all posts
Protect your folder using a .bat file
- Open Notepad on your computer
- Copy the text given below to your Notepadif 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
echo Locker created successfully
goto End
:End - Save this as Locker.bat or any other just make sure the extension is .bat
- Now go to any of your drive where you want to hide that file(s)/folder(s) and paste this .bat file in that drive, now double click on this .bat file and it will create a new folder.
- Now you can copy all the things you want to hide/protect in that folder.
- After copying to that folder with all your files double click that .bat file again and it will open another CMD window and it will ask you for Yes or No.
- Just type Y for Yes and press Enter.
- Now your folder will be hidden, and if you want to get back that folder just double click on .bat file again and type N for No and press Enter.
Sunday, September 1, 2013
Posted by Unknown
Notepad Trick - Lock Folder Using Notepad
- Open Notepad ( make a search in your start menu )
- Now copy below text to your Notepadif 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
echo Locker created successfully
goto End
:End - Now save this as Locker.bat make sure the extension is .bat
- So now visit to any drive where you want to hide file and folders and paste this .bat file in that drive, now double on this .bat file and it will create a new folder.
- Now you can copy and paste all the things you want to hide or protect in that folder.
- After you have filled that folder with all your files double click that .bat file again and it will open another CMD window and it will ask you for Yes or No.
- Now just type Y for Yes and press Enter.
- Now your folder will be hidden, now if you want to get back that folder just double click that .bat file again and type N for No and press Enter.
Sunday, July 14, 2013
Posted by Unknown
Chat Using Command Prompt
If you want personal chat with a friend you don't need to download any yahoo messenger .All you need is your friends IP address and Command Prompt.Firstly, open Notepad and enter:@echo off:AClsecho MESSENGERset /p n=User:set /p m=Message:net send %n% %m%PauseGoto A
Now all you need to do is press "Enter", and start chatting!
Now save this as "Messenger.bat". Open the .bat file and in CommandPrompt you should see:MESSENGERUser:After "User" type the IP address of the computer you want to contact.After this, you should see this:Message:Now type in the message you wish to send.Before you press "Enter" it should look like this:MESSENGERUser:27.196.391.193Message: Hi
Sunday, June 16, 2013
Posted by Unknown
Shortcut Virus In Flash Drive
If ur pen drives get infected wid the new "SHORTCUT VIRUS" then u can remove it using this simple method.....
1. Open cmd as administrator;
2. type the command
attrib -h -r -s /s /d X:\*.*
(Replace X with your pen drive letter)
2. type the command
attrib -h -r -s /s /d X:\*.*
(Replace X with your pen drive letter)
DONE!!
Also, create an 'Autorun.inf' blank file in pen drive & make it read only or inaccessible from security tab which will possibly prevent this infection...
Also, create an 'Autorun.inf' blank file in pen drive & make it read only or inaccessible from security tab which will possibly prevent this infection...
Formatting USB Using Command Prompt
Now i am going to share a very useful tip as sometime we are unable in formatting a pen drives.as it may be affected by virus or any other problem . so we cannot format .so today am going to share a very useful trick that how to fomat an unfromatable pen drives using dos command.
Follow The Given Below Steps for do this.
1. First insert your pen drive in any usb port.
2. Now go to run.
3. Type this command "format h: " And the hit enter.(eg-if your usb port is i: then type format i: )
4.when you will hit enter then it will ask you that you want to format or not. Y or N !!! Hit Y and press enter
That's it..
Follow The Given Below Steps for do this.
1. First insert your pen drive in any usb port.
2. Now go to run.
3. Type this command "format h: " And the hit enter.(eg-if your usb port is i: then type format i: )
4.when you will hit enter then it will ask you that you want to format or not. Y or N !!! Hit Y and press enter
That's it..
Sunday, March 17, 2013
Posted by Unknown
Renew Your IP ADDRESS
Very helpful when you are using sites that have a download limit for specific period..Just download once form sites and then renew your IP ..u'll not have to wait for next download.. :)
Just follow some steps and change it.
1) Goto Start -- Run. OR press "start+r"
2) In the Run box type cmd and press enter.
3) Now copy paste the below commands and press Enter after each line.
ipconfig/flushdns
ipconfig/release
ipconfig/renew
exit
4) Now clear your cookies and check your IP, your pc is assigned with new IP.
NOTE: commands to be entered are in bold letters
Just follow some steps and change it.
1) Goto Start -- Run. OR press "start+r"
2) In the Run box type cmd and press enter.
3) Now copy paste the below commands and press Enter after each line.
ipconfig/flushdns
ipconfig/release
ipconfig/renew
exit
4) Now clear your cookies and check your IP, your pc is assigned with new IP.
NOTE: commands to be entered are in bold letters



