Cannot use variables with VMware execute guest command

Hi,

I'm trying to the vmware guest command to copy a file from the guest to the host.

The arguments I'm trying to pass to the the function "copy a file from the guest to the host " are:

guest path =/home/user/%myfile%

host path = c:\temp\%myfile%

I get an error saying that the file doesn't exist. the variable %myfile% is a project variable

I have executed the command from the command line manually using the vmrun command and it works fine.

However when I enter the actual values e.g:

guest path =/home/user/somefile

host path = c:\temp\somefile

It copies the file fine. I think is maybe a bug, as the variables should be valid for use in the paths.

Thanks

Satpal