I know I can open a GP tool using code like this -
//Opens the Clip Raster GP tool
IGPToolCommandHelper2 gpHelper = new GPToolCommandHelperClass() as IGPToolCommandHelper2;
string toolboxName = extMain.GetArcGISDir() + "ArcToolbox\\Toolboxes\\Data Management Tools.tbx";
gpHelper.SetToolByName(toolboxName, "Clip");
try
{
gpHelper.Invoke(null);
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine(ex.Message);
}
but is there a way to open a tool in batch mode, similar to when you right click on a system GP tool in the Toolbox and you get 'batch' in the context menu?Thanks! TG