# Capturing all output in MS-DOS

Seems like there is not a single example out there showing how to run Tomcat in MS-DOS and capture all of its output. I sure didn’t know how, and don’t remember the post that told me.

catalina run > ..\logs\console.log 2<&1