SET MailChkProg=C:\win32app\mchk09b\mailchk.exe SET POPServer=pop.hogehoge.com SET POPPort=110 SET UserName=postmaster SET Password=root SET SoundPlayProg=c:\win32app\hitokoe1\HitoKoe10.exe %MailChkProg% %POPServer% %POPPort% %UserName% %Password% IF %ERRORLEVEL%==-1 GOTO FIN IF %ERRORLEVEL%==0 GOTO FIN %SoundPlayProg% :FIN FOR %%I IN (MailChkProg SoundPlayProg UserName POPServer POPPort Password) DO SET %%I= |