Wednesday, May 4, 2011

How to run DOS commands using .BAT file in Windows?

To create a batch file follow following steps:-
  1. Press window button + r, here type notepad & hit enter.
  2.      In notepad write commands of dos.     
  3.      Now goto save as option and save it as name.bat . Here name is user defined e.g. -nnn.bat or jkl.bat etc.
  4.      Now double click the created .bat file & commands of dos specified by you will run.
  5.      To edit .bat file right click on it & click edit.
Note - some commands run only with administrator privileges.

Monday, May 2, 2011

HOW TO PROTECT THE SYSTEM FOR M THE OTHER PEOPLE USE

Usually most of the people protect their system by setting a password for login.
But i am going to tell you another way of protecting the system. by using this way no one can use your system even after knowing your password.
follow these steps and enjoy:
  1. Restart your system.
  2. when it get restarted press F2 to view setup view the system setup setting window(in most of the system the setup setting are viewed by pressing F2) .
  3. now in setup setting window go to main setting 
  4. now go to SATA MODE settings and press ENTER.
  5. now change the mode of SATA form IDE to ACHI.
  6. now press F10 to save the changes and press Enter.
  7. now your system will get restarted again and again.
  8. now press the shutdown button to shutdown your system.
now no one can use your system
now if want to use the system again then follow the same procedure and change SATA MODE to IDE again 
save the changes and now you can use system again.

Sunday, May 1, 2011

STEGANOGRAPHY :- HIDE A MESSAGE IN AN IMAGE


Steganography is the technique of hiding a message into an image :
Here is the procedure for hiding  a message in an image :
suppose that the image file name is xyz.jpg
make sure that both text and image files are in the same folder.
  1. open notepad and write a message that you want to hide in it and save it with a name say abc.txt .
  2. now open command prompt 
  3. now go to that folder in which the file are stored
  4. now write the following code:   
                copy /b xyz.jpg+abc.txt
now press enter
                  on command prompt you will see
                               xyz.jpg

                                abc.txt
          one file(s) copied
  • now open the image file with notepad you can see your msg in the last line.
                      enjoy it






HIDE THE DRIVES IN WINDOWS XP

Follow thie procedure for hiding the drives :

  1. press windows button hold it and press R. run will be opened.
  2. now type regedit and press ENTER.
  3. now go to  HKEY-CURRENT_USER\SOFTWARE\MICROSOFT\WINDOWS\CURRENT VERSION\POLICIES\
  4. now on the right side do a right click and choose new and then choose DWORD value
  5. now you will see a new file with name New Value #1
  6. now name this as NoDrives
  7. double click on this file and enter 3fffff
  8. now restart your system

Saturday, April 30, 2011

how to shutdown pc automaticlly when it start



here is the procedure :
1. open notepad.
2. then write
shutdown -s -f -t 00
3. save this file with .bat extension
4 copy this file to startup folder.
5 now restart your system