For exact syntax type cscript /? .. I don't remember / or // .. You will also see a short description of the options
/H: (or //H: ?) means that cscript WILL BECOME THE DEFAULT SCRIPT PROCESSOR (cscript is the command ligne script processor, wscript is the graphical script processor) Francis -----Message d'origine----- De: Peter Vlaciky A: '[EMAIL PROTECTED]' Date: 01/07/02 01:58 Objet: [xmail] Re: mailproc.tab does not execute "external" program No, I haven't tried that. Thank you for the tip, I will give it a go. I think I will also need to read up more on the CSript command. Was it "cscript //H:CScript" like that? Double slashes? What does the H: mean? Thanks again, Peter > -----Original Message----- > From: CLEMENT Francis [mailto:[EMAIL PROTECTED]] > Sent: Monday, 1 July 2002 9:48 AM > To: '[EMAIL PROTECTED]' > Subject: [xmail] Re: mailproc.tab does not execute "external" program > > > > Hello Peter > > Is cscript the default environment ? > > Did you execute cscript //H:CScript at any time before (to > say windows = > to > run the scripts BY DEFAULT with cscript) ? > > Keep in mind that the default is to run .js and .vbs with > WScript even = > if > you launch you script with cscript ... (and WScript tries to create a > windows ... but from a service ... ouppss) > > Second, try to run the script without the //T:120 (no > timeout) to see = > what > happend > > Francis > > > -----Message d'origine----- > De : Peter Vlaciky [mailto:[EMAIL PROTECTED]] > Envoy=E9 : lundi 1 juillet 2002 01:13 > =C0 : '[EMAIL PROTECTED]' > Objet : [xmail] Re: mailproc.tab does not execute "external" program > > > > I am not sure I understand. > This is what I have: > > "external" "0" "0" "C:\WINNT\system32\cscript.exe > //T:120 //B" > "E:\MailRoot\bin\test.js" > > Did you mean something like this? > > "external" "0" "0" "C:\WINNT\system32\cscript.exe > //T:120 //B" > "E:\MailRoot\bin\test.js" "@@TMPFILE" > > I tried that, it didn't help. But maybe I should change my test.js to > actually use that parameter. > I was also thinking of somehow recompiling XMail so that I > can see what = > it > is trying to execute. > > > -----Original Message----- > > From: Davide Libenzi [mailto:[EMAIL PROTECTED]] > > Sent: Monday, 1 July 2002 9:00 AM > > To: '[EMAIL PROTECTED]' > > Subject: [xmail] Re: mailproc.tab does not execute > "external" program > >=20 > >=20 > >=20 > > On Mon, 1 Jul 2002, Peter Vlaciky wrote: > >=20 > > > > > > I think the double slashes are a JavaScript thing. > > > When I double click the .js file it comes up with an error=20 > > unless I use > > > double slashes. > >=20 > > yes, if the string is inside the source you need dlb-slash. i=20 > > thought it > > was a parameter of "external" ... > >=20 > >=20 > > > I do use 1.9, I just thought maybe the exe was somehow=20 > > damaged so I tried > > > different versions. > > > > > > Hm, I don't know. I'll keep trying. > >=20 > > maybe i know ... try to give at least one parameter to the=20 > > external line : > >=20 > > "external" "0" "0" "path" "param1" > >=20 > >=20 > >=20 > >=20 > > - Davide > >=20 > >=20 > > - > > To unsubscribe from this list: send the line "unsubscribe xmail" in > > the body of a message to [EMAIL PROTECTED] > > For general help: send the line "help" in the body of a message to > > [EMAIL PROTECTED] > >=20 > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
