Link to home
Start Free TrialLog in
Avatar of richarjb
richarjb

asked on

Hide MS-DOS box in Windows XP

During startup we are running a command line application.. the command looks something like

C:\app\runme.exe -d10 alpha d 40x

We need the DOS box to be hidden from the user... suggestions?  

The second part of the problem is that the task running needs to be set at LOW or BelowNormal priority so not to interfere with regulat operation (its normally highly CPU intensive)

(High point value due to urgency)

Thanks!
Jer

ASKER CERTIFIED SOLUTION
Avatar of jgiordano
jgiordano
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tosh9iii
tosh9iii

Run commands as a service is a good idea.

You can do the following as well:
The process take 3 files. one 'launch.bat' one 'invis.vbs' and one <your program>
in 'launch.bat' put in...

====
wscript.exe "C:\yourpath\invis.vbs" "your file.bat"
====

in invis.vbs put...

====
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
====

And finaly in your file put whatever u want...

=======
echo off
erase c:\junk.txt
well your done just open up launch.bat
=======

I hope that helped...

Cyber
This has been here a while have you tried any of the solutions?  Do you need further help?