So who wanted a PIF file anyway! <g> Thanks, Larry, for posting this solution - it has gone into immediate use for those couple of things where I still need to use DOS.
Regards, Alastair. ----- Original Message ----- From: Lawrence Lustig To: RBASE-L Mailing List Sent: Thursday, July 24, 2008 3:34 PM Subject: [RBASE-L] - Re: Silent LAUNCH command. Thank you Marc. I adapted the solution found here: http://www.computing.net/answers/dos/run-batch-file-invisiblestealth/14270.html to produce a completely silent batch file runner. The solution is to create a single line VBS program like this: CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False and then LAUNCH that VBS program from R:Base, passing the name of the batch file (or other command line) as the argument. I called my VBS script "launcher.vbs". So in my program I replaced: LAUNCH SendFax.BAT with LAUNCH launcher.vbs|SendFax.BAT The VBS doesn't create a DOS console, and the Shell command inside the VBS doesn't either. -- 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

