Hi,
So I'm currently using Parallels business edition 11, and have automated some processes for testing purposes. Part of these tests involve uploading files from my host Mac to the targeted Windows VM (in a Bash script using
prlctl commands).
In Parallels version 11, to upload a file I use the following command:
ditto --norsrc --noacl --noqtn --noextattr "/Users/username/Downloads/test.txt" "/Users/username/Desktop/[C] Windows 7/tmp/"
This would upload the file
test.txt to the Windows VM and put it in
C:/tmp/test.txt.
When upgrading to either Parallels business edition 12 or 13, there seems to have been a change with file sharing between VMs which breaks the above. Instead of being able to put files directly onto the
C:/ directory, instead it is redirected to a mounted shared folder (also called
[C] Windows 7), which has something like
\\mac\home\[C] Windows 7\, which is not where I want the file to be.
I've tried mounting that location as a share drive, and then copying it across to the C:/ drive using something like:
prlctl exec "Windows 7" copy "J:\\Desktop\\[C] Windows 7\\tmp\\test.txt" "C:\\tmp\\"
however, this resolved with errors such as "
The system cannot find the path specified." Even though the J: drive has been mounted.
How can I upload a file from my host Mac, to the Windows VM using
prlctl and place it in the
C:/ directory? Would love to start using Parallels 12 or 13 instead of 11.
Thanks!
Click to expand...