Batch File

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a batch file to run Azureus with a fixed amount of memory:

Azureus.exe -J-Xmx64m

It works just fine, but after Azureus loads, the batch file window is still
open. How can I configure the batch file so that the window closes after it
is executed?

Thanks.
 
I have created a batch file to run Azureus with a fixed amount of memory:
Azureus.exe -J-Xmx64m

It works just fine, but after Azureus loads, the batch file window is
still
open. How can I configure the batch file so that the window closes after
it
is executed?

Use the start command instead, i.e start Azureus.exe -J-Xmx64m

If it still doesn't disappear add the exit statement at the end
 
Victor said:
I have created a batch file to run Azureus with a fixed amount of
memory:

Azureus.exe -J-Xmx64m

It works just fine, but after Azureus loads, the batch file window is
still open. How can I configure the batch file so that the window
closes after it is executed?

Thanks.

The Start command should do that.
Start /? for help on the switches.

Like:
start "" "c:\myprog" %1

I'd have responded sooner but had a brain-block! <g>
Pop
 
Adding "exit" as the last line will never make a difference -
all batch files terminate automatically after they have
executed the last line.


Try adding exit as the last line.
 
Write the batch file cleanly/properly -- use "Start" at beginning and "Exit"
(or "End???) when done.
 
Why use "Exit" at the end? It's totally superfluous! And "End"
will certainly not work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top