View Single Post
Old 07-17-2010, 06:07 AM   #3 (permalink)
flat5
Very Insignificant Pawn
 
Location: Amsterdam, NL
Thank you, Shadowex3 for answering my question.
I just checked the cmd copy command.

Copies one or more files to another location.

COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
[+ source [/A | /B] [+ ...]] [destination [/A | /B]]

source Specifies the file or files to be copied.
/A Indicates an ASCII text file.
/B Indicates a binary file.
/D Allow the destination file to be created decrypted
destination Specifies the directory and/or filename for the new file(s).
/V Verifies that new files are written correctly.
/N Uses short filename, if available, when copying a file with a
non-8dot3 name.
/Y Suppresses prompting to confirm you want to overwrite an
existing destination file.
/-Y Causes prompting to confirm you want to overwrite an
existing destination file.
/Z Copies networked files in restartable mode.

The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line. Default is
to prompt on overwrites unless COPY command is being executed from
within a batch script.

To append files, specify a single file for destination, but multiple files
for source (using wildcards or file1+file2+file3 format).
---
Nothing special there.
---
TakeCommand does have many useful options without using it's scrip capabilities or other internal commands.

Copy data between disks, directories, files, or physical devices.

COPY [/A:[[-][+]rhsda] /CDEGH /I"text" /JKLMNOPQRSTUVXZ] source [+] ... [/A /B] destination [/A /B]
/A:(ttribute select)
/A(SCII)
/B(inary)
/C(hanged)
/D(ecrypt)
/E (no error messages)
/G (percent copied)
/H(idden)
/I (match descriptions)
/J (restartable)
/K(eep attributes)
/L (FTP ASCII)
/N(othing)
/M(odified)
/O (not exist)
/P(rompt)
/Q(uiet)
/R(eplace)
/S(ubdirectories)
/T(otals)
/U(pdate)
/V(erify)
/X (clear archive)
/Z (overwrite)

What I needed for this job was the /s /o /e /q options.
flat5 is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54