1.

Solve : Taking files from one folder and putting them in another through dos/batch?

Answer»

I'm TRYING to create a batch file that will copy the FILES from one folder and paste them into another folder.. but I don't really know how to Code: [Select]copy /?
Or;

Code: [Select]xcopy /?
Or [if you have vista];

Code: [Select]robocopy /?
should reveal all the information you need.

Basically it's just:

Quote

copy "DIRECTORY TO COPY\*.*" "OUTPUT DIRECTORY"

Or with xcopy:


Quote
xcopy "DIRECTORY TO COPY" "DIRECTORY TO COPY TO" /E
Thanks.. erm I don't know how my eyes skipped over copy... I looked through the help list at least 5 times. But thanks again.Yea, well it's there:

Quote
COLOR Sets the default CONSOLE foreground and background colors.
COMP COMPARES the contents of TWO files or sets of files.
COMPACT Displays or alters the compression of files on NTFS partitions.
CONVERT Converts FAT volumes to NTFS. You cannot convert the
current drive.
COPY Copies one or more files to another location.
DATE Displays or sets the date.
DEL Deletes one or more files.
DIR Displays a list of files and subdirectories in a directory.
DISKCOMP Compares the contents of two floppy disks.
DISKCOPY Copies the contents of one floppy disk to another.
Heh yeah I seen it just a few minutes ago, but I got it to run so thanks.No problem. If you need any more batch / command prompt advice we're glad to help.


Discussion

No Comment Found