Executing BAT file on VM

 Greetings,

First, let me start off by saying that I am new to both VMware and FinalBuilder.  I have a project that so far does the following successfully:

 

  1. Starts the VM.
  2. Takes a snapshot of the VM.
  3. Copies the setup.exe from the host to the guest.
  4. Copies the BAT file from the host to the guest.

What I want to do next is execute the BAT file.  I just get errors that the run command fails, and I cannot make heads or tails of the documentation.  Any help you can provide would be much appreciated.

 

I am using FinalBuilder 7 and VMware Workstation 7.1.4.

 

THANKS!!!!

Hi

I assume you are using the VMWare Execute Guest Command action to copy the files from the host to the guest VM and execute the BAT file?

Could you please provide the exact error message that you are getting when attempting to execute the batch file?

Regards,
Steve

"Guest program exited with non-zero exit code: 1"

 

Here is the command:

http://imageshack.us/photo/my-image...mmand.jpg/

Hi

Could you please try creating a batch file that performs a simple operation (like creating a folder on the desktop) and run this using the action.

I am able to use this action to run a simple batch file that creates an empty folder on the desktop, so it may be something in this specific BAT file causing the error.

Regards,
Steve