Post batch: Difference between revisions
From Pumping Station One
Created page with '@echo off pushd C:\Documents and Settings\ripper\Desktop\Rip Results for /f "tokens=* delims=" %%a in ('dir/b/a-d') do ( set content=%%~a ) sendemail -t %EMAIL% -f psonerip@…' |
No edit summary |
||
| Line 1: | Line 1: | ||
@echo off | @echo off | ||
pushd C:\Documents and Settings\ripper\Desktop\Rip Results\Results | |||
set content=%% | for /f "tokens=* delims=" %%a in ('dir/b/o-d/s *.txt') do ( | ||
set content=%%a | |||
) | |||
sendemail -t %EMAIL% -f psonerip@gmail.com -s smtp.gmail.com:587 -u "Rip complete!" -o message-file=%content% -xu | sendemail -t %EMAIL% -f psonerip@gmail.com -s smtp.gmail.com:587 -u "Rip complete!" -o message-file="%content%" -xu EMAIL -xp PASSWORD | ||
popd | |||