Hi. Use START:
/b = run the instance of the command prompt in the same window
START /b C:\Users\User\batfile.bat
Search found 7 matches
- 06 Aug 2012 01:29
- Forum: DOS Batch Forum
- Topic: Writing 2 batch files into 1
- Replies: 1
- Views: 1838
- 06 Aug 2012 01:12
- Forum: DOS Batch Forum
- Topic: Java and START in Batch
- Replies: 9
- Views: 4260
Re: Java and START in Batch
Fixed.
Thanks you guys. Now I can make an exe which runs a bat (from a temp file) and then starts a java. The old exe broke! I can change the icon of the exe too
Thanks you guys. Now I can make an exe which runs a bat (from a temp file) and then starts a java. The old exe broke! I can change the icon of the exe too

- 05 Aug 2012 06:19
- Forum: DOS Batch Forum
- Topic: Java and START in Batch
- Replies: 9
- Views: 4260
Re: Java and START in Batch
Then how do I fix that 

- 05 Aug 2012 03:54
- Forum: DOS Batch Forum
- Topic: Java and START in Batch
- Replies: 9
- Views: 4260
Re: Java and START in Batch
How do I fix it?
That's bat file 2
Code: Select all
@echo off &cd /d "%~dp0"
java -cp .;technic-launcher.jar
PAUSE
That's bat file 2
- 05 Aug 2012 02:18
- Forum: DOS Batch Forum
- Topic: Java and START in Batch
- Replies: 9
- Views: 4260
Re: Java and START in Batch
Thanks. It SORT of worked.
It comes up with all the Java help... why?
It comes up with all the Java help... why?
- 05 Aug 2012 01:59
- Forum: DOS Batch Forum
- Topic: Java and START in Batch
- Replies: 9
- Views: 4260
Re: Java and START in Batch
Thanks. I'll try this when I have access to a computer.
I use my EXIT command because I'm going to use iexpress.exe and make an exe file to open batch file 1 (which is put in the temp file) to run batch file 2. Then I can pin the exe to my start menu and use it like that.
I use my EXIT command because I'm going to use iexpress.exe and make an exe file to open batch file 1 (which is put in the temp file) to run batch file 2. Then I can pin the exe to my start menu and use it like that.
- 04 Aug 2012 10:06
- Forum: DOS Batch Forum
- Topic: Java and START in Batch
- Replies: 9
- Views: 4260
Java and START in Batch
Hello all! I'm trying to start a jar file using the java command, I'm planning on making an exe file that runs and runs a batch file that THEN runs a batch file thats inside the jarfile's folder. Batch file 1: @echo off cls START /B C:\Users\BillyV\AppData\Roaming\.techniclauncher\RunTekkit.bat EXIT...