Here is an example of a CLI command that I have run from a bat file to launch the recorder.
The command below should be on one continuous line. I used line separators below to make the command structure easier to read. Obviously, you need to change the paths around to suit your needs.
I also attached a sample SOAP-based VRS file. The structure and content of the VRS file changes on the basis of transport protocol and how the recording is being built -- for example, an R/R pairs VRS is different from a Recording VRS.
<path_to_LH>\bin\ServiceImageManager.exe
--vrs=c:\swdtools\DevTest8.3\<project_path>\testsample.vrs
-d
-s C:\swdtools\DevTest8.3\<project_path>\FINENQINTRTMNC.vsi
-m C:\swdtools\DevTest8.3\<project_path>\FINENQINTRTMNC.vsm
-G
To execute the CLI from a bat file, one can do something like this:
@echo off
setlocal enabledelayedexpansion
cmd.exe /C start "RcrdrName" C:\DevTest8.3\bin\ServiceImageManager.exe --vrs=C:\<project_path>\VRSessions\demo.vrs -d -s C:\<project_path>\VServices\Images\demo.vsi -m C:\<project_path>\VServices\demo.vsm -G
TIMEOUT /T 5 /NOBREAK
If you get an error using the above, then check your VRS file as there may be a mistake or missing configuration.