Advertisement
WesleyJB

Batch Debug Script

Aug 1st, 2015
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.56 KB | None | 0 0
  1. :: For testing purposes only. Possible Windows 10 issues, this will help me work them out.
  2. @echo off
  3.  
  4. set debugname="system_benchmark_retriever_alpha_1.6"
  5. echo.
  6. echo     This script will output everything to output.txt.
  7. echo     Errors will appear in between the output lines.
  8. echo     Errors appear a line before the executed code.
  9. echo     If this closes check the output file created.
  10. echo     %debugname% is currently set to be debugged.
  11. echo.
  12. echo     Press any key to continue . . .
  13. pause >nul
  14.  
  15. %debugname%.bat any_optional_parameters > output.txt 2>&1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement