From Rick Cogley, 2 Years ago, written in WinBatch.
Embed
  1. @echo off
  2. # Author: Rick Cogley
  3. # Last Update: 1 Nov 2014
  4. echo "== STARTING BATCH =="
  5. echo "Pinging..."
  6. ping -n 4 www.esolia.com
  7. echo.
  8. echo "Running SET..."
  9. set
  10. echo.
  11. echo "PC info..."
  12. echo "Computer: %computername%"
  13. echo "Domain: %computerdomain%"
  14. echo "== ENDING BATCH =="