AsciiIo in Batch

I have read that the AsciiIO class only works on the client tier, which would mean it can’t be used in batch. This seems to be confirmed from debugging my code…

Is there an alternative to the AsciiIo class which will run on the server?

AsciiIO works in batches as far as I know, you just have to be careful about what user is used by the batch (=> permissions needed) and that paths are related to the AOS. Alternative approach would be to use .NET types, e.g. System.IO.File (but that doesn’t magically solve any of the issues mentioned before).

By the way, you should prefer TextIO class to AsciiIO.