Being a Java programmer, i always have a wish that while distributing my programs, instead of creating some setup, i could just distribute it in a JAR file & launch it via a batch file!
But a batch file, means a command prompt window keeps running side ways!
There began my search for a way to create a hidden command prompt process!
I came across two good solutions:
- Create Hidden Process (http://www.commandline.co.uk/chp/)
- NirCmd (http://www.nirsoft.net/utils/nircmd.html)
For example, i participate in BOINC Projects (SETI@Home & Climateprediction)
Running the BOINC GUI Module consumes lots of RAM & CPU...so i always prefer to launch it via Console!
But launching via console means, i have to keep a command prompt window open!
Using CHP, i can easily create a hidden command prompt process as follows:
###########################
bhide.bat - Example to launch boinc console using CHP (Create Hidden Process)
CHP cmd.exe /c ""d:\User Profiles\skatdare\boinc.bat""
exit
###########################
###########################
boinc.bat - Example to launch boinc console (sub-batch file call)
cd\
cd pro*
cd boinc
boinc
##############################
So download Create Hidden Process from here!
NirCmd is an advanced command line tool which allows us to do lots of things without showing any user interface.
More detailed documentation for NirCmd is available here..
Download NirCmd from here!
So enjoy Hiding command prompts :-)
Keywords: batch file,batch file command,batch files,batch files command,batch files prompt,cmd,cmd command,cmd exe,cmd32,command exe,command prompt,command prompt commands,command promt,command windows xp,dos command,dos commands,dos prompt,j5,j7,j70,msdos prompt,windows 2000,command,windows command prompt,windows prompt,windows xp prompt,z5,z7
No comments:
Post a Comment