I use a lot of SVN directories for a project and thankfully each one has it's own "build.bat". What I'm trying to do is find a way to automate calling a bunch of these. The problem I'm coming across is that they each have a "pause" at the end of the file so you can view errors before it closes. I wrote up my own batch files that handles running all the needed batches and moving the results where they need to be, but I keep forgetting to sit around and watch it, so half the time I come back and it's sitting on like the second or third one waiting for me to hit a key, then I have to wait longer since it needed the input.
I know enough about PowerShell to get around with the variables and the basics, but I figured using that would give me more control of the resulting files. So what I want to accomplish is making a copy of the build.bat (in case it's updated it doesn't get broke) that is missing the pause at the end of the file.
The part I need help with is either the ability to remove all the pause commands from the runme.bat (copy of build.bat) or a way to inject all the information from build.bat (minus the pause commands) into a runme.bat.
Any help would be greatly appreciated.