CaTaLinU Posted May 7, 2012 Posted May 7, 2012 i have this in my .bat program start /min /low hlds.exe -console -game cstrike %IPARG% +sys_ticrate 150 -heapsize 15000 -port %port_add% -noipx +exec server%sv_add%.cfgHow can i make tha the hlds.exe consoles to be hidden in the taskbar?
gunsmokingman Posted May 7, 2012 Posted May 7, 2012 If you wanted to run this in VBS with nothing showing in the taskbar aand no 3rd party apps.Save As RunHiddenHids.vbs CreateObject("Wscript.Shell").Run("hlds.exe -console -game cstrike %IPARG% +sys_ticrate 150 -heapsize 15000 -port %port_add% -noipx +exec server%sv_add%.cfg"), 0,False
CaTaLinU Posted May 8, 2012 Author Posted May 8, 2012 and what script i need to add in .bat to run that vbs?
gunsmokingman Posted May 8, 2012 Posted May 8, 2012 You would run it as a VBS script, it does not need cmd promt.Hidden Window And Wont Wait For App To Close CreateObject("Wscript.Shell").Run("hlds.exe -console -game cstrike %IPARG% +sys_ticrate 150 -heapsize 15000 -port %port_add% -noipx +exec server%sv_add%.cfg"), 0,FalseShow Window And Wait For App To Close CreateObject("Wscript.Shell").Run("hlds.exe -console -game cstrike %IPARG% +sys_ticrate 150 -heapsize 15000 -port %port_add% -noipx +exec server%sv_add%.cfg"), 1,True
CaTaLinU Posted May 8, 2012 Author Posted May 8, 2012 file.bat@echo off[...]:: some code deletedstart RunHiddenHids.vbsRunHiddenHids.vbsCreateObject("Wscript.Shell").Run("hlds.exe -console -game cstrike %IPARG% +sys_ticrate 150 -heapsize 15000 -port %port_add% -noipx +exec server%sv_add%.cfg"), 0,FalseBut the consoles are still showing on the desktop and taskbar ........
Yzöwl Posted May 8, 2012 Posted May 8, 2012 Provide us with the entire .bat file and your operating system and also please tell us which console(s) are showing in the taskbar and on the desktop. (you can provide a screenshot if you are having difficulty making your point in English.)
CaTaLinU Posted May 8, 2012 Author Posted May 8, 2012 I cant make public my entire .bat Windows 7 Read PMWellif i will set to open 3 redirectson desktop wil be shown 3 consoles hlds.exe and in taskbar also 3 programs.....
gunsmokingman Posted May 8, 2012 Posted May 8, 2012 If you provide all the Bat contents perhaps it could be converted to VBS scripting.
Yzöwl Posted May 8, 2012 Posted May 8, 2012 It could be converted to HTA, AutoIt or VBS because it is basically a series of commands based on interactive responses to choices. The majority of the file is unnecessary code used to beautify the command window.The problem I think is unrelated to the batch file, I now think that what CaTaLinU is actually asking for is to be able to run HLDS.exe in console modehlds.exe -consolewithout that console appearing!They may also find that running START with the /B switch would prevent an additional window from opening.
CaTaLinU Posted May 10, 2012 Author Posted May 10, 2012 if i delete -consolethe hlds.exe would not be work perfectlyin 2 seconds it gives me an error from hlds.exe
bphlpt Posted May 10, 2012 Posted May 10, 2012 It might help if CaTaLinU more fully explained what it is that he is trying to do, and why. Assuming that we're talking about Half-Life Dedicated server (HLDS), what is the problem with it showing in the taskbar? (I'm not a gamer so I'm sure there are aspects of game play that I don't understand.) It would also be nice if CaTaLinU would say Thanks at least once for our efforts, even if they are not exactly what he was looking for. So far, in all the threads he has participated in he has made requests then said that our response was not good enough and asked for more. That doesn't inspire me to want to provide any more assistance. [Jaclaz must be rubbing off on me - I'm getting grumpy.]Cheers and Regards
CaTaLinU Posted May 10, 2012 Author Posted May 10, 2012 (edited) This is my 2nd threadand i have thanked there I just want to hide the HLDS.EXE process from taskbarthis is for Redirects , if you know what are Redirects for CS 1.6 Game ...@ Thx for those who tried to help me Edited May 10, 2012 by CaTaLinU
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now