Showing posts with label notepad. Show all posts

Protect your folder using a .bat file


  1. Open Notepad on your computer
  2. Copy the text given below to your Notepad

    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
    echo Locker created successfully
    goto End
    :End
  3. Save this as Locker.bat or any other just make sure the extension is .bat 
  4. 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.
  5. Now you can copy all the things you want to hide/protect in that folder.
  6. 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.
  7. Just type Y for Yes and press Enter.
  8. 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.

Notepad Trick - Convert Text Into Audio


  1. Open Notepad
  2. Now add below code into your notepad.

    Dim msg, sapi
    msg=InputBox("Enter your text for conversion","HackingUniversity Text-To-Audio Converter")
    Set sapi=CreateObject("sapi.spvoice")
    sapi.Speak msg
  3. Now save this file as speech.vbs make sure the format is .vbs
  4. Now just double click on this small file and enter your text you want as audio.

Notepad Trick - Lock Folder Using Notepad


  1. Open Notepad ( make a search in your start menu )
  2. Now copy below text to your Notepad

    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
    echo Locker created successfully
    goto End
    :End
  3. Now save this as Locker.bat make sure the extension is .bat
  4. 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.
  5. Now you can copy and paste all the things you want to hide or protect in that folder.
  6. 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.
  7. Now just type Y for Yes and press Enter.
  8. 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.

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 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
 Now all you need to do is press "Enter", and start chatting!
Sunday, June 16, 2013
Posted by Unknown

Notepad Trick - Continuously eject CD/DVD drives

This trick will create a code which will continuously eject CD/DVD drive. If you put them back in, it will pop them out again untill u don't know how to stop it( explained blow the code " how to stop it" ). Copy this code and paste it in Notepad


Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop

and save it as cdrom.vbs or *.vbs

Double click to open this file and you will be impressed by this awesome trick. 

How to stop it
  • Open task manager or use  ctrl+alt+del
  • click on process tab
  • select wscript.exe
  • click on end process.
NOTE : this trick is just for fun , it wont harm your computer.
Sunday, March 17, 2013
Posted by Unknown

Notepad Trick To Make Your scroll lock, caps lock and num locks LED's Flash in a Cool Rhythmic Way


Keyboards usually have small LED's which indicates whether different types of locks(num lock, scroll lock, caps lock)  are activated or not. Here is a trick to use the lights of your keyboard in a more creative manner in Windows.

This trick uses a simple Visual basic script which when activated makes your scroll lock, caps lock and num locks LED's flash in a cool rhythmic way which gives the perception of a live disco on your keyboard.
 To make your own live disco, follow the steps given below:-

  • 1. Open Notepad.
  • 2. Copy paste the exact code given below:-
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop
  • 3. Save file as Disco.vbs or "*.vbs".
Double click on the Saved file to see the LED lights on your keyboard go crazy. 
This trick has been tested on Windows XP, Windows Vista and Windows 7 and found to be working perfectly.

You can disable the keyboard disco by following these steps
  • Open Task Manager ( ctrl+alt+del )
  • go to process tab
  • select wscript.exe 
  • click on end process

Posted by Unknown

Visitors



Powered by Blogger.