Was this helpful?
Client Commands
The following commands are used on Loadnrun Client machines. Example output shows client usage.
/listcache Command
Use the /listcache command to display the list of applications present on the client machine. For example:
"%II_LOADNRUN11_CMD%" /listcache
Example output:
==========================================================================
Loadnrun11: Mon 03/10/2020 15:50:32.40: Contents of directory "%APPDATA%\Actian\eclientcache"
--------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
--------------------------------------------------------------------------
File Not Found
==========================================================================
"File Not Found" indicates that the directory is empty.
Launcher Command
Use the following command to start the simple launcher:
"%II_LOADNRUN11_CMD%" launcher %II_LOADNRUN11_GATEWAY% 112demo
This command downloads the launcher application. The launcher application has up to ten buttons that use Loadnrun to launch applications. By default, the list of demo applications that can be launched include:
HTTP Test Demo (112demo)
Comtest Client Demo (112demo)
Jigfall Demo (11demo)
Minesweeper Demo (112demo)
Intertask 1 (112demo)
Intertask 2 (112demo)
connect_example2 (112demo)
Query Tool (112demo)
Use the /listcache hostname 112demo to display the Loadnrun applications that are currently downloaded to the local Loadnrun eClientcache:
"%II_LOADNRUN11_CMD%" /listcache hostname 112demo
Example output:
===========================================================================================
Loadnrun11: Mon 03/10/2020 15:57:52.94: Contents of directory "%APPDATA%\Actian\eclientcache\hostname\112demo"
-------------------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
-------------------------------------------------------------------------------------------
launcher
===========================================================================================
After starting all the demos at least one time, the previous command will now produce the following output:
===========================================================================================
Loadnrun11: Mon 03/10/2020 16:01:03.71: Contents of directory "%APPDATA%\Actian\eclientcache\hostname\112demo"
-------------------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
-------------------------------------------------------------------------------------------
comtestclient
connect_demo
httptest
Intertask1
Intertask2
Jigfall
launcher
Minesweeper
qt
===========================================================================================
/listrun Command
The /listrun command displays a list of the commands you can use to start the application without using the Loadnrun Server:
"%II_LOADNRUN11_CMD%" /listrun hostname 11demo
Example output:
===========================================================================================
Loadnrun11: Mon 03/10/2020 16:03:18.28: List of run.bat scripts in "%APPDATA%\Actian\eclientcache\hostname\112demo"
-------------------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
-------------------------------------------------------------------------------------------
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\comtestclient\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\connect_demo\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\httptest\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask1\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask2\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Jigfall\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\launcher\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Minesweeper\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\qt\run.bat
===========================================================================================
The applications in the Loadnrun eClient cache are stored in the following generic location:
%APPDATA%\Actian\eclientcache\hostname\hostsuffix\appname
where the following variables are defined:
hostname
Indicates the machine name extracted from the II_LOADNRUN11_GATEWAY URL
hostsuffix  
Indicates the subdirectory on the Loadnrun Server that contains the Loadnrun APPNAME directories
appname
Indicates the application name that references the subdirectory that contains the Loadnrun application image, resources, and install4gl.txt control file for the application.
When the "%II_LOADNRUN11_CMD%" script is used to launch the Loadnrun application, it always checks to determine if the version of the application on the local machine is older than the version on the Loadnrun Server machine. If the version on the local machine does not exist in the eclientcache or if the version in the eclientcache is older than the version on the Loadnrun Server, the version in the eclientcache is removed and the new version is downloaded.
If the run.bat file in the eclientcache for an APPNAME is called directly, the application is launched without checking the Loadnrun Server.
/clearcache Command
You can remove the applications in the eclientcache using the following command:
"%II_LOADNRUN11_CMD%" /clearcache hostname 11demo
Example output:
===========================================================================================
Loadnrun11: Mon 03/10/2020 16:15:58.68: Removing directories and files in "%APPDATA%\Actian\eclientcache\hostname\11demo"
-------------------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
-------------------------------------------------------------------------------------------
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\comtestclient
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\connect_example2
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\httptest
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask1
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask2
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Jigfall
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\launcher
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Minesweeper
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\qt
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\comtestclient\comtestclient.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\comtestclient\Comtestclient.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\comtestclient\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\comtestclient\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\connect_example2\connect_example2.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\connect_example2\connect_example2.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\connect_example2\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\connect_example2\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\httptest\httptest.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\httptest\httptest.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\httptest\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\httptest\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask1\Intertask1.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask1\Intertask1.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask1\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask1\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask2\Intertask2.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask2\Intertask2.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask2\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Intertask2\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Jigfall\Jigfall.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Jigfall\Jigfall.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Jigfall\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Jigfall\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\launcher\launcher.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\launcher\Launcher.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\launcher\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\launcher\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Minesweeper\Minesweeper.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Minesweeper\Minesweeper.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Minesweeper\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\Minesweeper\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\qt\complib.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\qt\iiutil.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\qt\qt.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\qt\qt.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\qt\qt_username.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\qt\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\112demo\qt\username.qp
===========================================================================================
The \clearcache command removes all files in the eclientcache under the hostname\11demo subdirectory. You can use this command to clear the entire eclientcache if needed.
Last modified date: 12/20/2023