Auxiliary section
Top  Previous  Next


Use the [Auxiliary] section to write your own script that executes every time NTinfo scans a machine.

·Execute local and remote programs - call standard DOS commands or write your own NTinfo console application plugin  
·Import clear text files  
·Read from the registry  
·Find files  

Quick example

Copy the section below, click the tab labeled "SetupBatcher & NTreport " and paste.

[Aux_Begin]
DOS del c:\temp\tmp.txt
DOS dir \\%machine%\c$ >c:\temp\tmp.txt
Import.Textfile c:\temp\tmp.txt ; ROOT ; 5 ; 2 ; convert
[Aux_End]


When you click the tab labeled "NTinfo" again you will find that the alternative "[Auxiliary]" under options is enabled. Now check the [Auxiliary] checkbox and try it.

Commands

Command
Description
DOS
Executes DOS command or other program locally on the computer on which NTinfo is executed
DOSR
Executes DOS command or other program on a remote NT, 2000, XP or 2003 machine
Find.Files
Finds files
Import.Textfile
Reads a clear text file
Import.Textfile2
Reads a clear text file, version 2
Enumerate.Registry.Keys
Enumerates keys from HKEY_LOCAL_MACHINE, HKEY_USERS or HKEY_CURRENT_USER
Get.Registry.Value
Reads string or dword values from HKEY_LOCAL_MACHINE, HKEY_USERS or HKEY_CURRENT_USER
Aux.Debug
Add this line when you need to debug DOS commands:
1.A dialog is displayed for each command.  
2.The DOS window does not exit; you can read the output from individual commands.