mars-mail/pmail.bat

17 lines
578 B
Batchfile
Raw Normal View History

2011-11-13 00:46:51 +01:00
@echo off
if not exist i:\pmail\nul mkdir i:\pmail > nul
if not exist i:\pmail\out\nul mkdir i:\pmail\out > nul
if not exist i:\pmail\in\nul mkdir i:\pmail\in > nul
set pmuser=%name%
:SzLoop
Echo Please wait -- converting mail from unix to dos format...
rem chksz f:\unixmail\%name% %temp%\%name%
unix2dos f:\unixmail\%name% > i:\pmail\in\mailfile.dos
rem chksz f:\unixmail\%name% %temp%\%name% -c
rem IF Errorlevel 1 goto SzLoop
copy j:\dos\net\pmail\zero.txt f:\unixmail\%name% > nul
j:\dos\net\pmail\marsmail.exe
i:
cd \pmail\in
j:\dos\net\pmail\pmail.exe -a