NAIDANAC A
Well-Known Member
Does anyone know how to copy multiple file formats in dos (eg. .json and .gif) to a new directory without changing the file types? I have googled for to no advail. (It is a project I have to do...).
> copy *.* [I]destination[/I]
> copy *.ext [I]destination[/I]
I need to copy 2 types of files in one statement. So I will need to copy a file that has .gif, and one that has .json.
I have other files in the directory but those are already copied (like I said assignment) and I cannot just copy them again. I have tried COPY *.gif + *.json BACKUP. That reads both .gif and .json files but only copies .gif...I really hate when profs make you do things that you can do easier by touching 1 button.
copy a.gif BACKUP && copy b.json BACKUP