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

closed as too broad by Moses, Kevin Panko, gronostaj, Fazer87, Breakthrough Sep 10 '14 at 18:11

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • copy /? will tell you how to use copy – DavidPostill Sep 9 '14 at 16:48

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:\subfolder\example.txt C:\

For more information about using Copy type copy /?

  • Yes. Do i have to use C:\ ? can't I just use the two folders? – Marcus Sep 9 '14 at 19:24
  • @Marcus Yes you can leave off the C drive part. I just put it there in case you mean the rootfolder of a drive other than C. – Robin Hood Sep 9 '14 at 19:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.