Jump to content

wojtkowski@gmail.com

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by wojtkowski@gmail.com

  1. I suggest script: script scann computer, and sending to your mail :) you need 7zip - portable sendmail and google account :) add this to logon script :) or shelude task :) @echo off ping -n 1 google.com | find "TTL" if not errorlevel 1 goto OK goto BRAK :OK @Echo on @Echo SCAN Waiting..... @Echo off start tniwinagent.exe /scripted /path:"C:\tni" goto TNI :TNI ping -n 10 127.0.0.1 > nul if exist "C:\tni\*.inv" goto DALEJ goto TNI :DALEJ "7z.exe" a -r "C:\tni\dane.zip" C:\tni\*.inv -mx0 ping -n 2 127.0.0.1 > nul SendEmail.exe -f frommail@gmail.com -t tomail@gmail.com -u "TNI %computername%" -m "text" -a "c:\tni\dane.zip" -s smtp.gmail.com:587 -xu userr@gmail.com -xp passsword -o tls=yes del c:\tni\*.inv /q del c:\tni\dane.zip /q @Echo on @Echo SCAN OK @Echo off ping -n 5 127.0.0.1 > nul goto END :BRAK @Echo on @Echo Connection error @Echo off ping -n 5 127.0.0.1 > nul :END exit
  2. I have the same problem, any solution? win2003 x32
×
×
  • Create New...