echo off goto beg :dif echo var WSHShell = WScript.CreateObject("WScript.Shell"); > %temp%\mes.js echo WSHShell.Popup("осталось:"str); >> %temp%\mes.js start %temp%\mes.js deltree /y %temp%\mes.js goto end :tod echo var WSHShell = WScript.CreateObject("WScript.Shell"); > %temp%\mes.js echo WSHShell.Popup("сегодня"); >> %temp%\mes.js start %temp%\mes.js deltree /y %temp%\mes.js goto end :beg rem в str записать разницу str="20.02.2008" - "%DATE%" if str==0 then goto dif else goto tod :end