Re[2]: /BATCH command line
Nikolay Cankoff <n.cankoff-cWgD2A5aBmb+o5+G/y4OlPaFkyKvIZJ9F/[email protected]> Fri, 4 Nov 2005 11:14:41 +0200
| Newsgroups | gmane.mail.the-bat.devel |
|---|---|
| Organization | Office 1 Superstore |
| Message-ID | <[email protected]> |
Hello Roelof, Wednesday, November 2, 2005, 11:35:51 AM, you wrote: Roelof> In that case have you tried Roelof> /Send"Nikolay Cankoff" Roelof> or Roelof> /SendNiko* (without your preceding asterisk) Roelof> When it's your only account you could also use /sendall Unfortunately, I notice The Bat! execute only the first line in /BATCH file and that's it. If I have 2 lines in .bat file as follow: /MAILTO=n.cankoff-cWgD2A5aBmb+o5+G/y4OlPaFkyKvIZJ9F/[email protected];SUBJECT=ReportStendec;ATTACH="d:\BackUp\BackupReport\stendec.rar" /SEND"Nikolay Cankoff" , The Bat! only create mail and put it in the Outbox, but do not send it. If I call 2 .bat files with 1 line in everyone, everything works: For example: BackupReport.bat "c:\program files\The Bat!\thebat.exe" /BATCH:"D:\Utils\Batch\test\Mail_CreateReport.bat" "c:\program files\The Bat!\thebat.exe" /BATCH:"D:\Utils\Batch\test\Send.bat" Mail_CreateReport.bat /MAILTO=n.cankoff-cWgD2A5aBmb+o5+G/y4OlPaFkyKvIZJ9F/[email protected];SUBJECT=ReportStendec;ATTACH="d:\BackUp\BackupReport\stendec.rar" Send.bat /SEND"Nikolay Cankoff" I hope that is no The Bat! bug, but my mistake through ignorance. I think the batch file must looke like this: /MAILTO=n.cankoff-cWgD2A5aBmb+o5+G/y4OlPaFkyKvIZJ9F/[email protected];SUBJECT=ReportStendec;ATTACH="d:\BackUp\BackupReport\stendec.rar" /SEND"Nikolay Cankoff" /SMARTEXIT The Bat! create mail, send it, and then exit. And this will be the perfect schedule task for me and my work. Thanks in advance for support!!! Best regards, Nikolay mailto:n.cankoff-cWgD2A5aBmb+o5+G/y4OlPaFkyKvIZJ9F/[email protected]