Advertisement
Guest User

Untitled

a guest
Mar 30th, 2017
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. @ECHO OFF
  2. IF NOT EXIST %1. GOTO Usage
  3. IF NOT EXIST %2. GOTO Usage
  4. FOR %%x IN (*.jpg, *.txt, *.doc) DO xcopy %1%%x %2*.* /S /Y /C
  5. GOTO Done
  6. :Usage
  7. ECHO USAGE: %1 SourceFolder DestinationFolder
  8. :Done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement