Hey friends,here are some useful tips and tricks about computer......these stuffs are just for learning purpose. So don't try it in wrong way. Have fun........

Wednesday, January 26, 2011

How To copy the data from pen drive/Hard disk drive Secretly hiding from others.....(windows OS)

The contents of an storage drive like USB drive or external hard disk drive can be copied secretly with just a keystroke. Imagine your friend needs some files let's some movies from your computer and you are transferring them to his Pen drive while he's sitting beside you.At that moment an eagerness strike your mind that what's there in the pen drive,but you can not open it or copy it as your friend is present there.But you can surely copy all the stuffs from that Pen drive in front of your friend without his knowledge.For this you have to prepare a couple of files and save it in your computer secretly in some hidden folder.....and when some pen drive is inserted use a predefined keystroke and the files will be copied to your computer......just follow the steps....

1. First open notepad and type the following....

      @rem BATCH FILE
   @echo off
   xcopy "L:" /s /e /h /I /Q /Y
   ATTRIB +H
  :endofprogram

and save it as copy.bat(remember the file extension should be .bat)

2. Here "L:" is the drive letter for the pen drive to be copied. As you are preparing this file before the Pen drive is inserted you have to guess the drive letter.The easiest way is, the drive letter should be the next alphabet of the last alphabets used for hard disk drives and dvd drive. So just open "My computer" and check which one is the last letter assigned to drives.If it is "G:" then,after inserting the pen drive the drive letter should be "H:".So use "H:" in place of "L:" above.

3. Then open Notepad again and type the following..

   var WindowStyle_Hidden = 0
   var objShell = WScript.CreateObject("WScript.Shell")
   var result = objShell.Run("cmd.exe /c C:/pen drive/copy.bat",             WindowStyle_Hidden)

and save it as copy.js(you can use any file name but just don't change the file extension,it should be .js)

 here you should type the complete path name of the previous file(copy.bat) like my file is saved in a folder named 'pen drive' in drive C,then I should write "c:/pen drive".The underlined portion is the path name.change it accordingly.......

4. Just save the two files in the same location and your files will be copied to that location so keep it private.

5. Then place a shortcut of copy.js file on desktop.Right click on that file and send to Desktop. shortcut is placed on desktop.

6. Then on desktop right click on that shortcut file and go to the shortcut tab.Then navigate to the shortcut key prompt and click in the text box next to it and define a shortcut key(you can define a shortcut key by hitting any alphabetical or numerical key. It should be shown as "ctrl + alt + ". So if you press L then the shortcut key should be "ctrl + alt + L")

7. Now you are done.When a pen drive is plugged in just hit the shortcut key from your keyboard and the contents will be copied to your computer. Remember the files are copied to the location where you have saved the "copy.bat" file and they are in hidden form.So check that location and you can find the files.....

all d best....have fun......if any problems occur plz let me know....awaiting your comments...

No comments:

Post a Comment