This week's book giveaway is in the Reactive Progamming forum. We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line! See this thread for details.
Let me ask this Q with an example: I run my Class A from d:\product\scripts. In A I want to do a Runtime.getRuntime().exec("a.bat"); a.bat is in d:\product. So is there a way I can specify the dir. location of the Process that I get by doing a Runtime.getRuntime() - in this case as d:\product - meaning run a.bat @ d:\product. Interestingly, I expected that there'll be an overloaded exec(), which let's me specify the dir. location.