Thanks for this and yes this is a SAS server environment (Win).
I have worked in a previous SAS environment, where the metadata server was running, but where we had to assign libs at the top of our SAS programmes when running in batch mode...
In the scenario you describe, presumably the libraries set up in the management console get written to a SAS programme file, which can be referenced in the *.bat file?