On Mon, 1 Jul 2002, Peter Vlaciky wrote:
>
> OK. So the parameters must bne passed incorrectly I guess.
> I created a small test script:
>
> var fso = new ActiveXObject("Scripting.FileSystemObject");
> a = fso.OpenTextFile(".\\testfile.txt", 8, true);
> d = new Date();
> a.WriteLine(d.toLocaleString());
> a.Close();
>
> and I tried running it from the DOS prompt:
>
> E:\MailRoot\bin>C:\WINNT\system32\cscript.exe //T:120 //B
> E:\MailRoot\bin\test.js
>
> It works OK and generates the testfile.
> But my mailproc, which looks like this, generates nothing.
>
> "mailbox"
> "external" "0" "0" "C:\WINNT\system32\cscript.exe //T:120 //B"
> "E:\MailRoot\bin\test.js"
>
> I tried deleteing the //T:120 //B but that didn't help either.
> I checked both the EventLog and the Task Manager on Win2000, there is
> nothing there.
> I am guessing that either the line is being parsed incorrectly somehow, or
> XMail does not have the permission to run csript maybe?
> What else could be wrong?
try to put an absolute path for the test text file. where do you expect
the file to be created ?
- Davide
-
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]