|
Run a script from the command line
|
|
| a) Enter the NTreport editor and open the file NTinfo_2.cnu from the previous tutorial create and run a basic script, define and use a speed button.
|
|
|
| b) In the [Settings] section, add the line:
|
| (All available settings are listed in the topic settings in the NTreport manual.)
|
|
|
| c) In the [Batch] section, after the "get.data" command, add the line:
|
| (All available commands are listed in the topic commands in the NTreport manual.)
|
|
|
| The script should now look like this:
|
|
|
|
|
|
| d) Press CTRL+S to save the script.
|
|
|
| e) Close AdmWin.
|
| Start / programs / accessories / command prompt.
|
| At the command prompt type:
|
|
|
| admwin /ntreport ntinfo_3.cnu
|
| At the command prompt type:
|
|
|
| type c:\myfile.txt
|
|