Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- IF NOT EXIST %1. GOTO Usage
- IF NOT EXIST %2. GOTO Usage
- FOR %%x IN (*.jpg, *.txt, *.doc) DO xcopy %1%%x %2*.* /S /Y /C
- GOTO Done
- :Usage
- ECHO USAGE: %1 SourceFolder DestinationFolder
- :Done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement