VMware Communities
jehchoi1
Contributor
Contributor

Copy file from host to guest using DOS xcopy command

I am a newbie to VMWare. I know that you can share a folder between Host and Guest or drag-n-copy between the two but I was wondering if you can use DOS xcopy command to copy the file from host to the guest. I'm trying to automate the process of moving the files from host to guest.

Here is what I'm hoping I could do:

1. Create a batch file containing the codes to copy files in host directory (D:\DDrive for example) to guest directory (D:\Test)

2. Create an auto scheduler task in the Guest OS

I have Windows 7 running on the Host and Windows XP Pro running on the Guest.

Host is running VMWare Workstation 10

James

Reply
0 Kudos
3 Replies
RDPetruska
Leadership
Leadership

Discussion successfully moved from Community Website Help to VMware Workstation

Reply
0 Kudos
WoodyZ
Immortal
Immortal

Yes, what you're asking can be done! Smiley Wink  Set a VMware Shared Folder to the Source Directory on the Host, or use Industry Standard SMB/CIFS Shares, either of which gets mapped to a Drive Letter in the Windows Guest.  Create your Script, test that it works correctly and then create a Task for it in Scheduled Tasks.

Reply
0 Kudos
wmarusiak
Enthusiast
Enthusiast

If you use same network for VM as hosts then I don't see any problem.

Best Regards, Wojciech https://wojcieh.net
Reply
0 Kudos