Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with JRegistry::loadSetupFile() in /home/windcuyh/public_html/libraries/joomla/html/parameter.php on line 512

Strict Standards: Only variables should be assigned by reference in /home/windcuyh/public_html/plugins/system/bigshotgoogleanalytics/bigshotgoogleanalytics.php on line 29
How to Save the Command Prompt’s Output to a Text File in Windows

Strict Standards: Declaration of JCacheControllerView::get() should be compatible with JCacheController::get($id, $group = NULL) in /home/windcuyh/public_html/libraries/joomla/cache/controller/view.php on line 137

How to Save the Command Prompt’s Output to a Text File in Windows

This is one of those things I do a lot and never even thought to put it up on the site. I do it, mostly, for large directories I am trying to verify after something like a RoboCopy. Very simple to do.

Saving the output of a Windows Command Prompt command is a great way to get a nice neat copy to share with support staff, analyze longer outputs using your favorite text editor, or otherwise interact with the output with more flexibility than staying in the command window allows for.

To redirect the output of a command to a text file instead of printing it to the screen in the command window, we simply need to execute the command and append it with the “>” angle bracket symbol—called, appropriately enough, a redirection.

If for example, you wanted to save the output of the DIR function to a text file instead of scrolling page after page on your screen in the command window, you would execute the command

DIR > some-descriptive-filename.txt 

Read more - click here.

Da Boss!

Website: www.digitalsmind.com

Who's Online

We have 195 guests and no members online

Search Articles

Site Updates.

'I never forget a face, but in your case I’d be glad to make an exception.'

Latest Content

  • Bad Rabbit: Ten things you need to know about the latest ransomware outbreak
    Written by

    Da Boss!

    Bad Rabbit: Ten things you need to know about the latest ransomware outbreak Eh... not as bad as some previous ones we have…
    Read more...
  • Taco Bell rolls out Kit Kat-stuffed quesadilla
    Written by

    Da Boss!

    Taco Bell rolls out Kit Kat-stuffed quesadilla In line now. Sounds scrumptious.
    Read more...
  • Snag-It 2018 - Best Screen Capture Tool - PERIOD!
    Written by

    Da Boss!

    Snag-It 2018 - Best Screen Capture Tool - PERIOD! Well, it's almost here but I was graced by the…
    Read more...
  • Windows 10 Fall Creators Update: Lots of small changes—and maybe the revolution
    Written by

    Da Boss!

    Windows 10 Fall Creators Update: Lots of small changes—and maybe the revolution Hopefully this one will go a little smoother than the…
    Read more...
  • VirtualBox 5.1.30
    Written by

    Da Boss!

    VirtualBox 5.1.30 If you are looking for a VM program\utility that can…
    Read more...

Visit the Digitalsmind Video YouTube Page!

Did you know we have a video page on YouTube? 

Well... WE DO! 

Check us out! 

- Our Video page.