Many thanks, Larry.
I had already tried the double quotes and even found something on the internet
that used double double quotes but had no luck with it.
>From your first response I'll try a new version of my InvisibleDOS.VBS file
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) &
WScript.Arguments(1)& WScript.Arguments(2)"""", 0, False
and play with that to see if I can make it work somehow - at least that gives
me something to work on.
Again, thanks,
Regards,
Alastair.
----- Original Message -----
From: Lawrence Lustig
To: RBASE-L Mailing List
Sent: Tuesday, August 05, 2008 9:35 PM
Subject: [RBASE-L] - Re: Silent LAUNCH command.
Additionally, if your problem is that the batch file is getting executed
_without_ the parameters, the problem is the script is being passed three
parameters, but uses only the first as the command line to execute.
You may be able to fix this by passing the entire command line in quote
characters:
LAUNCH InvisibleDOS.VBS|"C:\DosPrograms\Attrib.BAT I: -R|W"
And, depending on your own quote settings, you may need to surround the whole
launch string in quotes and/or double up your double quotes.
--
Larry
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.5.12/1592 - Release Date: 05/08/2008
06:03