Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- REM requires https://code.google.com/p/wintee/
- REM CompanionCube's idea, Izaya's implimentation.
- if defined logenable ( goto logenabled ) else ( goto logdisabled )
- :logdisabled
- cls
- set logenable=true
- cmd | wtee C:\Users\%USERNAME%\cmd.log
- exit 0
- :logenabled
- echo test > nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement