• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How to run Java program from batch file

Lazy8s

Golden Member
Exactly as the title says, how can I run a java program from a batch file without a window popping up? So far my batch file looks like this:

@Echo off
java findIt test.txt

When I run the batch file it opens up a command window and starts to run the program. What I need if for it to run in the background. I tried with a javascript file and:

@Echo off
start /dcscript tindIt.js test.txt

does exactly what I'm wanting. I tired

/djava findIt test.txt

and that doesn't work, I also tried putting /b in front (which is supposed to make it run in the background) and it doesn't work. Any help would be appreciated. I can't find it on google! Thanks in advance.
 
Back
Top