C
[email protected]
Guest
I am using TCMD 10..... under XP Pro sp3
If I have too many attachments for an email as it comes back with "Command line too long" - besides making a ZIP and sending that instead how else can i send a large number of attachments?
========================echo . > "%USERPROFILE%\desktop\a.err"
for %fldr in (@dirlist.lst) (
Echo Working on %Fldr...
cdd "%fldr"
(for %fn in (*) set cAtt=%cAtt /A "%fn") >>&> "%USERPROFILE%\desktop\a.err"
echo sending email now...
sendmail %cAtt /d "[email protected]" "%fldr" for your pleasure
unset cAtt
delay 120
cdd -
)
========================
If I have too many attachments for an email as it comes back with "Command line too long" - besides making a ZIP and sending that instead how else can i send a large number of attachments?
========================echo . > "%USERPROFILE%\desktop\a.err"
for %fldr in (@dirlist.lst) (
Echo Working on %Fldr...
cdd "%fldr"
(for %fn in (*) set cAtt=%cAtt /A "%fn") >>&> "%USERPROFILE%\desktop\a.err"
echo sending email now...
sendmail %cAtt /d "[email protected]" "%fldr" for your pleasure
unset cAtt
delay 120
cdd -
)
========================