Need help with running a .Bat

Permabanned
Joined
3 Aug 2009
Posts
1,397
Location
Manchester
Hi guys.

I'm trying to run a .Bat file and when I run it, it just comes up with a black screen and goes off.

The files are compiled correctly etc as they're working for lots of other people.

If I remember correctly, last time it was because I was on a windows 64-Bit Operating system and I had to add some command line to something in Windows but I can't remember what I did.

Anyone know what I need to do? :/

Thanks
 
I remember what I had to do now.... I had to go to system variables and change a classpath or something but I can't remember exactly what it was.
 
Easy way to see if there are any error messages is open a command prompt window and run the bat file from there. It wont close when the bat file finishes and it may have an error message that would be helpful.
 
You could use pause to prompt you to press a key.

Code:
@echo off
echo hi
pause

Also, Gamer_T, your sig looks very familiar? :p
 
What kind off application is your bat file calling and have you set the environment variables so it can access what it needs to access?

As above, add a pause and let us know what the output is.
 
Back
Top Bottom