Previous Topic: Examples: Asset ManagementNext Topic: Desktop Management Script Interpreter


Examples: Script Language

The following example scripts are available on the CA Client Automation product installation DVD under \Examples\dmscript\script_language:

2LINES.NCS

Writes a message on two lines.

ADDSTR.NCS

Adds ">" "<" to a text string.

APIMSG.NCS

Shows how to use an API call from the script language. Calls the standard message box.

COPYTREE.NCS

Copies a tree from a network drive to a local disk.

CREATELK.NCS

Creates a group and an icon where the application has an argument.

DELREG.NCS

Shows how to correct a string in the registry.

EDIT_INI.NCS

Sets a test_var variable to an input value in the file \windowsdir\win.ini.

GET_DRV.NCS

Returns the next free drive.

LAB1.NCS

Message-box test that checks if answer is YES or NO.

NCEDIT.NCS

Gives all the functionality from NCEDIT to script.

REGWRITE.NCS

Fills in data in the Registry database.