PDA

View Full Version : DOS boxes Hidden


poekai
10-23-2001, 01:02 PM
Hi, i'm currently using Visual Patch to update my product. However, i need to use certain DOS command lines to add and remove some drivers. I was wondering if it is possible to hide the DOS boxs as the command executes. Right now, a box opens up with the Command name in the title, no matter what setting i choose for the operatior, Normal, Max, mini. Any help or clues would be greatly appreciated.

Poe

Lorne
10-23-2001, 01:39 PM
What commands are you using?

poekai
10-23-2001, 07:33 PM
The command i call is SNETCFG. It is sample code from microsoft used to install a Driver or service.

Poe

Lorne
10-24-2001, 11:52 AM
If I remember correctly, that sample code is set up to run as a console app. Since it's just example source, you should be able to build your own executible to do it silently.

Is the driver you're trying to install one that you've developed? When I used to develop NT drivers, we just installed them with a .reg file to set the appropriate registry commands (calling regedit from a batch file with a command line arqument to suppress the "are you sure" prompt).

poekai
10-30-2001, 10:27 AM
Well, that may be true. Its a little late for us to rewrite the command.

ummm, so does that mean it can't hide console apps? If it can't, it probably should as other competing products have this functionality.

It would be great if we could just edit an ini file and reg keys, but our driver, with out going into details will not install that way... http://www.indigorose.com/ubb/images/icons/frown.gif

Poekai