MSAppAvail

Note
This tool is part of the GAMS Tools Library. Please inspect the general information about GAMS Tools.

Checks if a MS Office Application is available. The return code (errorLevel) signals if the application is available (0) or not (not 0).

Usage

Command line:

gamstool [win32.]MSAppAvail Application

Compile time:

$callTool [win32.]MSAppAvail Application

Execution time:

executeTool '[win32.]MSAppAvail Application';


Argument Description
Application MS Office application to check.


Example: Checking whether MS Access is available

This example checks if Microsoft Access is available on the system and quit without error if this is not the case.

$callTool win32.msappavail Access
$if errorlevel 1 $abort.noError "No MS Access available"