Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9132875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:23:21+00:00 2026-06-17T08:23:21+00:00

I have a small Windows batch script that is executed from within a game

  • 0

I have a small Windows batch script that is executed from within a game application (the user experience is important here) that is called to start a Java program among other things. With the command javaw I hide console output from the user of the game to improve experience, however, the console window remains open from the batch file execution and doesn’t close until the Java code is finished executing.

The first solution I tried was to use the start command, but I am unable to pass any parameters to the java program and it fails accordingly.

start javaw -jar jar-file-here.jar args...

How should I write a batch file that will start a Java program with the correct variables, and close without waiting for Java to close?

Edit:
My parameters contain quotes ( ” ), so I am unable to contain them all in quotes without confusing the command.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:23:22+00:00Added an answer on June 17, 2026 at 8:23 am

    The first argument accepts a window title. Here is the command with the adjustment made:

    start "Window Title Here" javaw -jar jar-file-here.jar args...

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a fairly small solution that includes a WPF windows application. It builds
We have a small java application running on windows that needs to be able
I have written a small batch file that copies an exe from solution to
I have written a small .net Windows Forms application. And now I decided to
I have a small windows.form that I use to present information when the mouse
Have developed a small Windows application using SQL Server as its database. I need
I have a small windows application I wrote using Visual Studio 2010, CSharp, .NET
I have made a small windows application with visual studio 2008 ,its working properly
I have developed a small windows forms application in C#. This application simply manipulates
I 'am building a small windows form application. I have a View - a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.