Question: how to copy a file from windows to windows in command line?
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.