Job Management Partner 1/Software Distribution Automatic Installation Tool Description and Reference
Description
Executes an MS-DOS or system command.
Format
bool AIT_ExecCommand ( string strCommandName // MS-DOS command );
Parameters
strCommandName (input)
Specify an application filename or a system command.
Return values
The return value is true if the function was executed normally, and false if not.
If the function has returned false, you can use AIT_GetLastError to acquire an extended error code. The following gives the error codes that AIT_GetLastError may return.
| Extended error number | Error code |
|---|---|
| 2 | ERROR_FILE_NOT_FOUND |
| 3 | ERROR_PATH_NOT_FOUND |
| 5 | ERROR_ACCESS_DENIED |
| 8 | ERROR_NOT_ENOUGH_MEMORY |
| 14 | ERROR_OUTOFMEMORY |
| 21 | ERROR_NOT_READY |
| 87 | ERROR_INVALID_PARAMETER |
| 123 | ERROR_INVALID_NAME |
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.