Guest User

Untitled

a guest
May 24th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. @echo off
  2. echo ===========================================
  3. echo = EQUIPMENT CONFIGURATION =
  4. echo ===========================================
  5. echo
  6. echo Today's date:% date%
  7. echo.
  8. echo Computer Name:% computername%
  9. echo.
  10. echo IP Address:
  11. ipconfig | find / i "IPv4"
  12. ipconfig | find / i "IPv4" >> \ 10.138.50.215 test txtinfo.txt
  13.  
  14. echo.
  15. echo MAC of the Team:
  16. getmac
  17. echo.
  18. echo DATE:% date% TIME:% time% NAME OF THE COMPUTER:% computername% >> \ 10.138.50.215 test txtinfo.txt
  19.  
  20. echo
  21. echo Press the "SPACE" key to close this window ...
  22. pause> nul
  23.  
  24. for /f "tokens=2 delims=:" %%a in ('ipconfig ^|find "IPv4"') do set "ip=%%a"
  25.  
  26. set "ip=%ip:~1%"
  27.  
  28. echo My IP settings are
  29. ipconfig | find "." | find /i /v "suffix"
  30. echo
Add Comment
Please, Sign In to add comment