Previous Topic: Desktop Management Predefined String ConstantsNext Topic: Operating Systems with Decimal and Hexadecimal Values


Retrieving Asset Management Constants

To let DMScript Interpreter know the values of the asset management constants, it must evaluate an .ini file. The file NCC31COM.DAT that was used in former versions on Windows is now obsolete.

When the asset management calls DMScript Interpreter, the .ini file is temporarily created and passed to dmscript with the flag -i_dms.

The .ini file can be explicitly generated on Windows systems by calling the command amagentsvc.exe (located in the bin directory) with one of the following flags:

The flag determines the Unit Type. You can use a dash (-) instead of the slash (/) at the start of the flag.

If the filename contains spaces, use quotation marks at the start and end of the entire flag:

"/computerscriptvars=c:\program files\..."

The generated file can be used for test purposes then by passing it to DMScript Interpreter with the flag "-i_dms".

The file is temporarily generated by DMScript Interpreter on Windows in case an asset management constant is used in the script but no file has been passed with the flag "-i_dms".

Note: The .ini file interface is a CA DSM internal interface. Do not let your scripts rely on the existence of the file or read or interpret its contents directly. Use the .ini file only for test purposes.

More Information:

Desktop Management Predefined String Constants

UNIX File Attributes