Question: how to copy files from linux to windows using command line?
Answer: Install Putty on Windows machine.
The Putty-GUI can be used to SSH-connect to your Linux Box, but for file- transfer, we just need one of the putty tools called PSCP.
With Putty installed, set Putty's path so that PSCP can be called from DOS command line.
Putty is installed with default settings (in C-drive).