# Best way to show terminal and cmd commands

I want to show terminal commands as well as command prompt commands (windows) and was wondering what is the best way to format these in latex.

-

\documentclass{article}

\usepackage{xcolor}
\usepackage{listings}

\lstdefinestyle{DOS}
{
backgroundcolor=\color{black},
basicstyle=\scriptsize\color{white}\ttfamily
}

\begin{document}
Hi, I am Garbage Collector!
\begin{lstlisting}[style=DOS]
Microsoft Windows [Version 6.1.7601]

c:\User\Garbage Collector>
\end{lstlisting}
\end{document}

-
Nice. I trust the listings package lets the user change the color scheme (as you can do in windows) for printing something other than white text on black. –  Ethan Bolker Aug 6 '12 at 20:01
@GarbageCollector: Also the c above is lower case...it is actually upper case in cmd's window. –  Matthew Kemnetz Aug 16 '12 at 16:49
@MatthewKemnetz: You are correct. Thanks. –  kiss my armpit Aug 16 '12 at 16:56
@GarbageCollector; I was just saying that to again point out that your post isn't a screen shot. It's further proof! –  Matthew Kemnetz Aug 16 '12 at 18:12
@MatthewKemnetz: Yes. I understood. Thanks. –  kiss my armpit Aug 17 '12 at 8:34