How do I use the windows command prompt to copy a file [closed]

Posted on


Hi there i would like to know how to copy a file that is in, lets say /rootfolder/subfolder
to the rootfolder


Open the Command Prompt with administrative privilidges (they are needed for writing the file to C: ). I assume by “/rootfolder” you mean the top directory as opposed to a folder called “rootfolder” in the top directory.

Type in the command prompt C:subfolderexample.txt C:

For more information about using Copy type copy /?

Leave a Reply

Your email address will not be published. Required fields are marked *