Question: how to copy a file in windows command?
Answer: Press Windows + R key combination (or click Start) to start Run.
Type cmd and hit OK in the box to launch Command Prompt.
At the prompt, type copy c:\workfile. txt d: and press Enter to copy the file named “workfile. txt” on the root of C drive to D drive root.