Server Reference Guide : Loadnrun : Loadnrun Command Reference : Client Commands
 
Share this page          
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% 62demo
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 (11demo)
Comtest Client Demo (11demo)
Jigfall Demo (11demo)
Minesweeper Demo (11demo)
Intertask 1 (11demo)
Intertask 2 (11demo)
connect_example2 (11demo)
Query Tool (11demo)
Use the /listcache hostname 11demo to display the Loadnrun applications that are currently downloaded to the local Loadnrun eClientcache:
"%II_LOADNRUN11_CMD%" /listcache hostname 11demo
Example output:
===========================================================================================
Loadnrun11: Mon 03/10/2020 15:57:52.94: Contents of directory "%APPDATA%\Actian\eclientcache\hostname\11demo"
-------------------------------------------------------------------------------------------
"%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\11demo"
-------------------------------------------------------------------------------------------
"%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\11demo"
-------------------------------------------------------------------------------------------
"%APPDATA%" = "C:\Users\username\AppData\Roaming"
-------------------------------------------------------------------------------------------
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\comtestclient\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\connect_demo\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\httptest\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask1\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask2\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Jigfall\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\launcher\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\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\11demo\comtestclient
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\connect_example2
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\httptest
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask1
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask2
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Jigfall
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\launcher
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Minesweeper
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\qt
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\comtestclient\comtestclient.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\comtestclient\Comtestclient.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\comtestclient\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\comtestclient\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\connect_example2\connect_example2.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\connect_example2\connect_example2.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\connect_example2\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\connect_example2\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\httptest\httptest.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\httptest\httptest.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\httptest\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\httptest\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask1\Intertask1.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask1\Intertask1.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask1\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask1\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask2\Intertask2.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask2\Intertask2.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask2\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Intertask2\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Jigfall\Jigfall.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Jigfall\Jigfall.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Jigfall\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Jigfall\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\launcher\launcher.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\launcher\Launcher.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\launcher\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\launcher\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Minesweeper\Minesweeper.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Minesweeper\Minesweeper.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Minesweeper\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\Minesweeper\w4gl.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\qt\complib.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\qt\iiutil.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\qt\qt.config
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\qt\qt.img
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\qt\qt_username.log
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\qt\run.bat
C:\Users\username\AppData\Roaming\Actian\eclientcache\hostname\11demo\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.