Re[2]: /BATCH command line
Hello Stefan, Friday, November 4, 2005, 7:54:39 PM, you wrote: Stefan> I am using Blat for simple commandline mail actions: 10x, I'll try It. -- Best regards, Nikolaymailto:[EMAIL PROTECTED] http://www.silverstones.com/thebat/TBUDLInfo.html
Re: /BATCH command line
Hello List! Hi Nikolay Cankoff, on 01.11.2005 at 22:00 [UTC +0200] you wrote: > How can I force TheBat! to send the message and exit after that. Well I see you simply send one file as an attachment, is it necessary to use TheBat? I am using Blat for simple commandline mail actions: http://www.blat.net/ -- Regards, Stefan TheBat! v3.62.11 with Windows XP v5.1 Build 2600 Service Pack 2 http://www.silverstones.com/thebat/TBUDLInfo.html
Re[2]: /BATCH command line
Hello George, Friday, November 4, 2005, 3:36:37 PM, you wrote: George> Is that mail the only one that needs to be sent? If so, try the SEND George> parameter for the /MAIL command: That's it... thanks a lot George. It works perfect now. George> OT: So you know what stendec means? Maybe you can solve a long George> standing mystery: Definitely I know George, it is not a coincidence. Thanks again. -- Best regards, Nikolaymailto:[EMAIL PROTECTED] http://www.silverstones.com/thebat/TBUDLInfo.html
Re: /BATCH command line
Nikolay Cankoff wrote: NC> Unfortunately, I notice The Bat! execute only the first line in NC> /BATCH file and that's it. NC> If I have 2 lines in .bat file as follow: NC> /[EMAIL PROTECTED];SUBJECT=ReportStendec;ATTACH="d:\BackUp\BackupReport\stendec.rar" NC> /SEND"Nikolay Cankoff" NC> , The Bat! only create mail and put it in the Outbox, but do not send it. Is that mail the only one that needs to be sent? If so, try the SEND parameter for the /MAIL command: /[EMAIL PROTECTED];SUBJECT=ReportStendec;ATTACH="d:\BackUp\BackupReport\stendec.rar";SEND That should cause it to be sent immediately. OT: So you know what stendec means? Maybe you can solve a long standing mystery: http://www.pbs.org/wgbh/nova/vanished/stendec.html -- George Using The Bat! 3.61.11 Echo (Beta) on Windows XP Pro, Service Pack 2. http://www.silverstones.com/thebat/TBUDLInfo.html
Re[2]: /BATCH command line
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: /[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 /[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: /[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, Nikolaymailto:[EMAIL PROTECTED] http://www.silverstones.com/thebat/TBUDLInfo.html
Re: /BATCH command line
Hallo Nikolay, On Wed, 2 Nov 2005 07:30:26 +0200GMT (2-11-2005, 6:30 +0200, where I live), you wrote: Roelof>> What's your account name NC> Account Properties -> General -> Nikolay Cankoff In that case have you tried /Send"Nikolay Cankoff" or /SendNiko* (without your preceding asterisk) When it's your only account you could also use /sendall -- Groetjes, Roelof Veni, Vidi, Vacate (I came, I saw, I left) The Bat! 3.62.08 Windows XP 5.1 Build 2600 Service Pack 2 1 pop3 account, server on LAN OTFE enabled P4 3GHz 2 GB RAM http://www.silverstones.com/thebat/TBUDLInfo.html
Re[2]: /BATCH command line
Hello Roelof, Wednesday, November 2, 2005, 12:27:08 AM, you wrote: Roelof> What's your account name I'm using The Bat! v3.60.07 on Windows XP 5.1 Build 2600 Service Pack 2 -- Best regards, Nikolaymailto:[EMAIL PROTECTED] http://www.silverstones.com/thebat/TBUDLInfo.html
Re[2]: /BATCH command line
Hello Roelof, Wednesday, November 2, 2005, 12:27:08 AM, you wrote: Roelof> What's your account name Account Properties -> General -> Nikolay Cankoff -- Best regards, Nikolaymailto:[EMAIL PROTECTED] http://www.silverstones.com/thebat/TBUDLInfo.html
Re: /BATCH command line
Hallo Nikolay, On Tue, 1 Nov 2005 23:00:04 +0200GMT (1-11-2005, 22:00 +0200, where I live), you wrote: NC> /SEND*Niko* What's your account name -- Groetjes, Roelof If worst comes to worst, you *CAN* turn most things off. The Bat! 3.62.08 Windows XP 5.1 Build 2600 Service Pack 2 1 pop3 account, server on LAN OTFE enabled P4 3GHz 2 GB RAM http://www.silverstones.com/thebat/TBUDLInfo.html
/BATCH command line
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 -agmmdd 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: /[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 http://www.silverstones.com/thebat/TBUDLInfo.html