Difference between revisions of "Post batch"
Jump to navigation
Jump to search
(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@…') |
|||
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 [email protected] -s smtp.gmail.com:587 -u "Rip complete!" -o message-file=%content% -xu | + | sendemail -t %EMAIL% -f [email protected] -s smtp.gmail.com:587 -u "Rip complete!" -o message-file="%content%" -xu EMAIL -xp PASSWORD |
+ | |||
+ | popd |
Revision as of 18:34, 11 April 2010
@echo off
pushd C:\Documents and Settings\ripper\Desktop\Rip Results\Results
for /f "tokens=* delims=" %%a in ('dir/b/o-d/s *.txt') do ( set content=%%a )
sendemail -t %EMAIL% -f [email protected] -s smtp.gmail.com:587 -u "Rip complete!" -o message-file="%content%" -xu EMAIL -xp PASSWORD
popd