Computeractive

Batch file 8

Jun 21st, 2022 (edited)
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. @echo off
  2. cls
  3. echo Writing time and date to the file
  4. echo File created at %time% on %date%>configuration.txt
  5. echo.>>configuration.txt
  6. echo Writing computer configuration to the file
  7. echo Computer configuration>>configuration.txt
  8. echo ======================>>configuration.txt
  9. systeminfo>>configuration.txt
  10. echo.>>configuration.txt
  11. echo.>>configuration.txt
  12. echo.>>configuration.txt
  13. echo.>>configuration.txt
  14. echo Adding your current network settings to the file
  15. echo Network settings>>configuration.txt
  16. echo ================>>configuration.txt
  17. ipconfig>>configuration.txt
  18. echo.>>configuration.txt
  19. echo.>>configuration.txt
  20. echo.>>configuration.txt
  21. echo.>>configuration.txt
  22. echo Adding a list of your installed drivers to the file
  23. echo Installed drivers>>configuration.txt
  24. echo =================>>configuration.txt
  25. driverquery>>configuration.txt
  26. echo.>>configuration.txt
  27. echo.>>configuration.txt
  28. echo.>>configuration.txt
  29. echo.>>configuration.txt
  30. echo Adding a list of running tasks to the file
  31. echo ACTIVE PROCESSES>>configuration.txt
  32. echo ================>>configuration.txt
  33. tasklist>>configuration.txt
  34. echo.
  35. echo A full run-down of your computer set-up has been written to the file configuration.txt
  36. pause
  37. exit
  38.  
Add Comment
Please, Sign In to add comment