CopyFileFromHostToGuest - oddity

Sep 1, 2009 at 12:53 PM

all works perfectly if i call:

virtualMachine.CopyFileFromHostToGuest("c:\\setup.exe", "c:\\files\\setup.exe");

 

 - however if i call:

string strSource = "c:\\setup.exe"

string strDest = "c:\\files\\setup.exe"

virtualMachine.CopyFileFromHostToGuest(strSource, strDest);

nothing happens?  I think im starting to lose the plot...can you shed some light?

 

thanks

alex

 

Coordinator
Sep 2, 2009 at 11:54 AM

That's weird, for the least. Can you post a simple piece of code that doesn't work?