Larry, I think this used to work in W98SE - you may to "update" it for XP or 
Vista:

Create what used to be called a PIF file that runs a Dos Box _minimised_ and 
use that to run your batch file.You may need to be creative in how you name the 
files - it's a while since I did it now so my memory's vague at best.

You might also need to direct any spurious Dos output to nul: attrib -r *.* > 
nul

I do wish Windows had a proper silent option for running BAT files. It would be 
even nicer if it had standard output and error output like Unix but that's 
another story, I suppose.

Regards,
Alastair.


  ----- Original Message ----- 
  From: Lawrence Lustig 
  To: RBASE-L Mailing List 
  Sent: Thursday, July 24, 2008 2:39 PM
  Subject: [RBASE-L] - Silent LAUNCH command.


  I have an R:Base program which builds a batch file to perform some system 
level processing.  I can LAUNCH the batch file, it works great.

  However, a DOS window flashes on the screen while the batch file operates.  
There's no output, so there's no need for the window or the flashing.

  Can anyone think of a clever way to launch a batch file "invisibly"?

  Failing that, does anyone (paging MikeB, paging MikeB, Mr. B please pick up 
the white courtesy phone) have the STDCALL worked out to do this directly 
through ShellExecEx?
  --
  Larry


No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.5/1570 - Release Date: 24/07/2008 06:59

Reply via email to