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.

Never mind. I fixed it by replacing the / with a \

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.