How to Declare Folder Path?
<p>I have a desktop application using Swing library. Application is running a batch file. So I created a <code>lib</code> folder in main project directory and put batch file in it. To run this, I am showing <code>lib\a.exe</code> to run this. It is working on my laptop. I exported .jar and put lib folder next to it. It is working on my laptop, but not working on some other laptops. How to fix this?</p>

<p>Error message is: Windows cannot found <code>lib\a.exe</code>.</p>

<pre><code>String command = "cmd /c start lib\\a.exe";
            try {
                Runtime.getRuntime().exec(command);
                increaseProgressBarValue();
            } catch (IOException e) {
                e.printStackTrace();
            }
</code></pre>
