Tech Tips / Windows NT / Tools and Tasks
Windodows NT command shell commands and most command console applications (such as those found in the Windows NT Server Resource Kit) output ANSI character data that the command shell displays as text on your screen. This text output is also known as standard output, and you can capture it to files, pipe it as standard input to other commands, or assign its value to a variable.
To capture output to a file, you can use the redirection symbols [>] or [>>]. The single greater than symbol captures the output to the specified file while overwriting the existing file's contents. The double greater than symbol captures the output and appends the data to the target file's contents. For example, the command DIR > dir.txt captures the DIR command's output to the text file Dir.txt and overwrites any preexisting data that the file contained.
Pass your MCSE certification exams with EasyCert - the most realistic exam simulations available today! Click the links bellow for free MCSE demos.
If you're an experienced IT professional and would like to share your expertise with other Setup32.com readers, why not submit a new tip to our Tech Tips area?
Sponsored Links