Quote:
Originally Posted by Japo
In VPC you can just copy files between the host and the guest by drag'n dropping, as long as the optional integration features are installed.
|
You can also mount the vhd files with Windows disk manager. After mounting the disk image you can browse the files in Windows Explorer just like any HDD.
I have added the mount/unmount scripts in the "SendTo" folder so I can right click on a vhd file to mount it.
Mount script:
Code:
@ECHO OFF
TITLE Mount VHD
ECHO Mount VHD
ECHO.
ECHO.
SETLOCAL
SET DiskPartScript="%TEMP%\DiskpartScript.txt"
ECHO SELECT VDISK FILE="%~1" > %DiskPartScript%
ECHO ATTACH VDISK >> %DiskPartScript%
DiskPart /s %DiskPartScript%
ENDLOCAL
Unmount script:
Code:
@ECHO OFF
TITLE Unmount VHD
ECHO Unmount VHD
ECHO.
ECHO.
SETLOCAL
SET DiskPartScript="%TEMP%\DiskpartScript.txt"
ECHO SELECT VDISK FILE="%~1" > %DiskPartScript%
ECHO DETACH VDISK >> %DiskPartScript%
DiskPart /s %DiskPartScript%
ENDLOCAL
That's what I use to move files between the host and virtual machine.