Hi guys, I'm a MS-DOS batch newb, and I have a question for you.
I'm trying to copy several files from a location to another location using the for command. Below is the code, let me know please what I'm doing wrong. Thanks!
e:
cd\Work\_Projects\
FOR /F %%i in ("*.doc;*.docx;*.xls;*.xlsx;*.png;*.gif;*.pdf;*.txt;*.jpg;*.psd;*.odt;*.mp3;*.ttf;*.pps;*.ppsx") DO xcopy e:\Work\_Projects\%%i /S c:\Work\Backup\%DATE%