I am running a Java batch file from C#. If I run it by double clicking it executes successfully, but if I run it from C# code it gives exception in thread
Try adding the following code as the first line to your batch file.
@cd /d %~dp0