Como copiar arquivos usando um arquivo em lote? [duplicado]
possível duplicado:
Como faço para copiar arquivos usando o lote do Windows?
Oi eu preciso criar um arquivo em lote para copiar certos arquivos, eg 19_ 1_ white.jpg para uma pasta dentro da pasta?
0
2 answers
XCOPY F:\*.* G:\ /C /S /D /Y /I
XCOPY allows for copying of files, directories, and sub directories.
F:\*.* is our source location
G:\ is our destination location
/C tells XCOPY to ignore errors, and finish what can be done
/S tells XCOPY to copy everything including directories and
subdirectories
/D tells XCOPY to only copy source files that are newer than the
destination files (big time saver on the process)
/Y tells XCOPY to overwrite files without asking for confirmation
/I tells XCOPY to automatically create new directories on the
destination, if new directories were created in source.
8
Author: Spikey21, 2011-12-20 11:29:34
Tem de usar o comando XCOPY eg XCOPY A.jpg C:\Folder\A.jpg
Olha para isto.http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/xcopy.mspx?mfr=true para quaisquer outros interruptores que possa querer usar também. 2
Author: Sachin Kainth, 2011-12-20 11:27:02