WriteSetup method

The WriteSetup method writes the Setup object and SetupNode objects to the Setup DCO file. You use this method after you read a setup DCO file from an external location.

Syntax

VBScript
oDCO.WriteSetup(FileName as String) as Boolean
C#
bool WriteSetup(string lpszFileName)

Applies to

Batch objects only.

Arguments

lpszFileName
Full path and name for the Setup DCO file (for example, C:\Datacap\APT\dco_APT\APT.xml).

Returns

Returns true if successful; Returns false if unsuccessful.

Example

See ReadSetup for an example.