I'm not sure if I getting this right. Do you already have a batch script, and want to add some more functionality to it? What environment are you in (Windows, UNIX ZOS...) ?
You can create and manage batch processing both from OS scripting languages and by SAS processing. The choice between these options depends on your application, the administrators knowledge, scheduling tool, corporate standards etc.
Also, if you are talking about the SAS Enterprise Intelligence Platform and stored processes, you will probably have a separate configuration/startup file for the Stored Process server and another configuration/startup file for the Workspace server.
These files should not be altered except with input from your Enterprise Intelligence Platform Administrator or help from Tech Support.