Question Locked

how to create a batch file to move multiple files from one folder to anoth

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
i need to create a batch file to move multiple files from one folder to another on a mapped drive, all files are .mov files

3 replies

by seanferd

xcopy/? will get you a description at the command line.

You can also look in help, or on the web, for more info on the command.

by rob miners

Modify the content the == to suit your folders and the drive letter

==============

xcopy C:\temp\*.mov E:\temp /s /c /d /e /h /i /r /k /y

goto remove

:remove

C:
del c:\temp\*.mov

goto end

:end

==============

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>xcopy C:\temp\*.mov E:\temp /s /c /d /e /h /i /r /k /y
C:\temp\m1.mov
C:\temp\m2.mov
C:\temp\test.mov
3 File(s) copied

C:\>del c:\temp\*.mov

Edit: syntax

This discussion is closed to new replies.