/BATCH command line
Nikolay Cankoff <n.cankoff-cWgD2A5aBmb+o5+G/y4OlPaFkyKvIZJ9F/[email protected]> Tue, 1 Nov 2005 23:00:04 +0200
| Newsgroups | gmane.mail.the-bat.devel |
|---|---|
| Organization | Office 1 Superstore |
| Message-ID | <[email protected]> |
Hi TBTECH, I've got the problem with the /BATCH command. I have one BackupReport.bat file with content: copy "\\S2k-blagrad\d$\manager\NIKOLA\PLANOVE\2005\Stendec2005.xls" "\\S2k-goldmine-bl\d$\BackUp\BackupReport\" rar a -agyyyymmdd Stendec.rar Stendec2005.xls del Stendec.rar rar a Stendec.rar Stendec2005.xls del Stendec2005.xls "c:\program files\The Bat!\thebat.exe" /BATCH:"D:\Utils\Batch\test\Mail_CreateReport.bat" Mail_CreateReport.bat has the following content: /MAILTO=n.cankoff-cWgD2A5aBmb+o5+G/y4OlPaFkyKvIZJ9F/[email protected],[email protected];SUBJECT=ReportStendec;ATTACH="d:\BackUp\BackupReport\stendec.rar" /SEND*Niko* /SMARTEXIT The Bat! creates the message and pit it in the Outbox, but after that exits witout sending the message. If I delete the "/smartexit" command the message just leaved in the outbox witout sending - and this is my problem. How can I force TheBat! to send the message and exit after that. 10x in advance for support. -- Cheers, Nikolay Cankoff Blagoevgrad