Script copied through the clipboard does not work as expected
Sometimes when a script or a part of a script is copied from another application with cut and paste, SetupBatcher returns strange error messages. This is because some applications converts TAB characters (ascii code 9) into one or many spaces (ascii code 32). Most scripts will not work with spaces instead of TAB characters - SetupBatcher uses TAB characters in a script to separate commands from markers, and also, if BatchSettings.Delimiter is set to "TAB" the TAB character is used as a separator between columns in the [Data] section.
There is actually a function in SetupBatcher that automatically converts three spaces in a row in the [Data] section into a TAB character when a script is started. This means that three spaces instead of TAB in the [Data] section will work, but for all other TAB substitutes you will have to fix the problem manually.
How to manually fix the problem:
1) Check the [Machines] section
\\EDU14 D22 NT PDC Ok-AllDone
There should be a TAB character between the computer name and the domain name. There should also be a TAB character between the domain name and the machine type and between the machine type and the marker. Example: "\\EDU14<TAB>D22<TAB>NT PDC<TAB>OK-AllDone". The easiest thing, if you do not need the marker, is to delete everything after the machine name.
2) Check the command sections - [Batch], [Init], [Undo], [OnError]
Group.Global.Create Students Ok
If there are markers they should be separated from commands with a TAB character. Example: "Group.Global.Create Students<TAB>Ok". The easiest thing is to delete the marker if you do not need it.
3) Check the [Data] section
First check the [Settings] section to see where data should be read from and how it should be separated, example:
BatchSettings.Delimiter=TAB
Account.FullName.Col=1
SET AccountName=%col2%
Account.Password.Col=3
Then click "Edit data" > "Show Column Index" to see the columns.