SQL Data Compare 5   

Using XML to Specify Command Line Arguments

 

You can use an XML file to specify the arguments for the command line interface. You may want to do this because:

Create the XML file in the following format:

<?xml version="1.0"?>
<commandline>
    <switch_name1/>
    <switch_name2>switch_value</switch_name2> ....
</commandline>

For example, for the /include and /exclude switches, use the following format:

<include>objecttype:RegularExpression</include>

To execute the command line tools using an XML argument file as input, at the command prompt enter:

SQLDataCompare /argfile:XMLfilename.xml

When you use an XML file to supply the arguments, you cannot specify any other switches on the command line except /verbose or /quiet.

 

 


© Red Gate Software Ltd 2007. All Rights Reserved.