When I execute the batch file directly in DOS, everything runs as expected.
But when I execute the batch file from Java runTime, it will run only the commands that invoke jar ...
Hi All, anybody knows how to call a batch file from java is there any DOS command aor dll file like url.dll by wich i can call my batch file from a java file or may be some body can tell me how to use FileUploadProtocal to call a batch file from java Please help me ASAP Thanks in advance
create a new file called "go.bat" or something like that edit this with notepad put the statement below in the file: java yourMainClassName (don't forget to put the package before the mainclassname if there is one) save the file, put it at the root of your java project , and run it