Active Oldest Votes. Stephan Stephan Community Bot 1 1 1 silver badge. JosefZ JosefZ Not sure about proper using single and double quotes. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back The downloaded program is named: "wtee.
This will capture the script output to the file named "log. That means beside outputting to console you also want to store that in a file? That's what tee is used for. It also has an alias of tee. You can run these in PowerShell. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Log an entire batch file output Ask Question. Asked 8 years ago. Active 5 months ago. Viewed k times. Would someone be able to tell me how to do this?
Improve this question. Add a comment. Active Oldest Votes. Improve this answer. Andrew 5 5 silver badges 8 8 bronze badges.
Ingrid Ingrid 1 1 silver badge 3 3 bronze badges. It's easy! Already have an account? Sign in here. Facebook Twitter. MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Logging batch file execution? Share More sharing options Followers 1. Recommended Posts. Posted July 8, Link to comment Share on other sites More sharing options IcemanND Posted July 8, Or you could rewrite it as a cscript and capture the output of the script.
Scr1ptW1zard Posted July 8, Perhaps you could do this: Create a batch file stub.
0コメント