Copy files MS DOS command?

Copy files MS DOS command?

The command to copy the Program Files folder is:

copy “c:\program files” d:\tmp

Notice that in order to copy folders that have a blank space, you need to add quotes (“”).

For simple files, the command is

copy c:\file.doc d:\tmp

The problem with copying folders in MSDos is that usually it will not work. You will receive an error.
However, you can copy files.

For example I have tried to copy folders from a PC that has Windows XP Home Edition and it was not possible.
What I had to do was to insert the Hard drive to another PC and copy them from the normal Windows interface.


Another useful commands

To create a folder:
md tmp

tmp = the name of the folder.

To go to a certain partition, use:

C:
D:
etc.

To navigate through folders, use:

cd windows
etc.

Add a comment: