Getting started
Top  Previous  Next


NTreport shares the tab labeled "SetupBatcher & NTreport" with SetupBatcher. Notice that NTreport uses its own command set and syntax checker, NTreport has nothing more than the GUI in common with SetupBatcher.

One important line

FileType=NTreport

·When a script is started, AdmWin looks for the line "FileType=NTreport" in the [Settings] section, if present, the NTreport engine is used. Without this line the SetupBatcher engine is used.  

How to start writing scripts

·Do not start by trying to write your own script from scratch. Instead look for an example that almost does what you want. Try to understand how the code works by looking in the command reference. Then adjust the script according to your needs.  

The easiest way to create a script skeleton




·In NTinfo; select properties by clicking the checkboxes of interest under options, then click the "Create script from GUI" button.  
·In the NTreport editor: If needed; add commands to the [Batch] section. Save the script. Done!  

There are three ways to run a script



·Click the run button or press CTRL+R.  
·Use the command line (possible to use the schedule service)  
·Use the NTreport speed buttons in NTinfo - it is possible to run ten different NTreport scripts with predefined file names form NTinfo.  

Related topics

·Tutorials