Resolve issue where User cannot execute a batch script from a folder other than where the .exe files are found in Verimove

Operating System: Windows 2008 64bit
 

Issue

Executing a Verimove batch script outside of the Verimove folder and getting an error that mu.exe cannot be found.

 

Cause

A Verimove batch script needs a CD (or change of directory) statement to the Verimove path.  Without the change of directory, the script cannot find the Verimove executable needed to run.

Resolution

UPDATED: August 7, 2017
Add a CD (or change of directory) statement to the script to the Verimove path.

Here is a snippet of a sample batch file code to run Verimove:

    :STEP_03.1
    :EXECUTE_VERIMOVE
 
       CD /D %VeriMove_Path%
 
       ECHO STEP_03.1 - VERIMOVE JobDef - %VeriMove_JobDef%
       ECHO Start Time: %date% %time%
       ECHO -------------------------------
 
       %VeriMove_Path%\FTCmd.exe %VeriMove_JobDef%
 
       IF "%ERRORLEVEL%" NEQ "0" (GOTO :STEP_03.1_Fail)
 
  ETC…