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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.Shel l").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
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.Shel
====
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?
https://www.experts-exchange.com/questions/21090460/Need-to-run-the-exe-on-the-start-up-of-windows-XP.html