VMware Workstation executes nonexisting and outdated File
Posted
by
RED SOFT ADAIR-StefanWoe
on Server Fault
See other posts from Server Fault
or by RED SOFT ADAIR-StefanWoe
Published on 2010-09-02T20:07:27Z
Indexed on
2011/01/08
1:55 UTC
Read the original article
Hit count: 542
mount
|vmware-workstation
I execute a command line program from a VM (VMware 7.1.1) with Windows XP. The executable file is located on the host machine. If i start a command line in the VM, using a drive mounted as
.host\SharedFolders
i see the following:
D:\projects\myProgram\WinRel>dir myProgram.exe
02.09.2010 21:15 245.760 myProgram.exe
D:\projects\myProgram\WinRel>myProgram.exe
Processing BuildFeb 26 2009
This is wrong! The whole execution of the program behaves like the version that is outdated more than one year! I triple checked that there is no confusion or anything
If i start the Program on the host or if i even start it from the VM using a UNC Path, it shows the last build date and executes as expected:
C:\>dir \\myMachine\drive_d\projects\myProgram\WinRel\myProgram.exe
02.09.2010 21:15 245.760 myProgram.exe
C:\>\\myMachine\drive_d\projects\myProgram\WinRel\myProgram.exe
Processing Build: Sep 2 2010
Can this behavior somehow be explained? There MUST be a cache for the host mounted drive. The program it executes does not exist anymore! If i remove it from the host, the VM can not execute it anymore. If i restore it, the behavior becomes the same again.
© Server Fault or respective owner