Batch file to copy files to flash drive?
-
hi i was wondering if there was some command or a batch file i could make for my flash drive.i want to be able to put in my flash drive and open a batch file that will copy stuff from my documents to my flash drive (g:) any one know ?
-
Answer:
REM Copied "My Document" from current profile to location the batch file is excuted from @Echo Off XCOPY "%userprofile%\My Documents" "%~d0\My Documents" /I /E /Y Pause>nul Exit Add /Q to the XCopy command if you want to hide the file names while copying. This script works off the current directory the batch file is ran from. EX. If ran from the C:\ then the files will be copied there.
trp_waka... at Yahoo! Answers Visit the source
Related Q & A:
- How do I fix a corrupted flash drive?Best solution by Yahoo! Answers
- How to skip the input in batch file?Best solution by Stack Overflow
- How to run an interactive batch file on windows from a service?Best solution by Stack Overflow
- How to use a Cruzer USB flash drive?Best solution by ehow.com
- Using flash drive (USB drive) as Ram?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.