Mac – How to copy a file in a VMware Workstation Linux virtual machine to Windows

virtual machinevmware-workstation

I have installed (using VMware Workstation) a Linux virtual machine on my Windows 7 computer.
I'm wondering how to copy a file in Linux to Windows. To copy from Windows to Linux virtual machine is easy; just drag and drop. But the reverse is not obvious to me.

Thanks for your help.

Best Answer

I suggest you to please install Cygwin in your windows PC and you can following command for copy windows to Linux.

scp /cygdrive/d/test.txt :/root/test.txt

Or you can also use WinSCP, It is very simple.