Is it possible to make steam launch a batch file?

gamerguy319

Distinguished
Apr 11, 2012
353
1
18,815
Well my question is as stated but I might as well tell you what's its for. I run extremely hi def texture packs on minecraft (x256) however Sphax pure bdcraft will not run on the allocated amaunt of ram java is given. I have made a batch file that will run minecraft with 3 gigs of ram. however I cannot get it to launch through steam. the reason why I want to do this is because it is my games library and I am really ocd about my pc, so as you guessed it I really don't want it on my desktop
 
Solution
I might be resurrecting an old "thread" here, but I've heard that using this program you can convert your batch file to an .exe, which Steam would then recognize.
Link to the program: http://www.battoexeconverter.com/
You can also of course Google "bat to exe converter" but this one looked the most trustworthy to me.

gamerguy319

Distinguished
Apr 11, 2012
353
1
18,815
Sadly, I already did. and I also tried redirecting my existing minecraft shortcut to it but it only opens cmd and immediately closes without opening mincraft however the batch does work when not opened through steam
 

gamerguy319

Distinguished
Apr 11, 2012
353
1
18,815
oh and here is a copy of the batch

javaw -Xmx4098m -Xms2048m -jar "C:\games\minecraft.exe"

and here is the file extension in steam with the batch on my desktop, in which it is

"C:\Users\Alex\Desktop\minecraft"

and here is where the "start in" parameter is directed to

"C:\Users\Alex\Desktop\"
 

WaWo

Reputable
Aug 28, 2014
2
0
4,520
I might be resurrecting an old "thread" here, but I've heard that using this program you can convert your batch file to an .exe, which Steam would then recognize.
Link to the program: http://www.battoexeconverter.com/
You can also of course Google "bat to exe converter" but this one looked the most trustworthy to me.
 
Solution