Quantcast
Channel: DaniWeb Microsoft Windows Topics
Viewing all articles
Browse latest Browse all 2776

Copying files in cmd

$
0
0

I am wondering how to copy files in cmd, but it isn't that simple. I know how to copy normally, but I would like to combine multiple items(Which I also know how to do). My problem comes in when I try to organize the files into folders

My file structure looks like this

MainFolder
    -Output
    -Images
    -Files

and I would like to combine an image and a a file and put it into the output.

If I try

copy /b Images/img.png+Files/file.zip Output/out.png

It does not work, and gives me a "The syntax of the command is incorrect"

If I try putting quotes around each of the directories in the above statement it says the file is not found. Is there any way accomplish this task without all the files being in the same folder?

Thanks for the help.


Viewing all articles
Browse latest Browse all 2776

Trending Articles