Please report all spam threads, posts and suspicious members. We receive spam notifications and will take immediate action!
Results 1 to 2 of 2

Thread: Dos Window Output to TXT




  1. #1

    Default Dos Window Output to TXT

    I'm sending out a batch file to several hundred networked pc's with PSEXEC which is a dos tool. Is there a command that I can include in my batch file that will write the contents of the dos window into a txt file? There is so much going on in the dos window, it runs out of room so I can't just copy and paste everything because it's not all there. I'm looking for a command that will write the contents of the dos window to a txt file before it disappears so I can go back and review the results later.

  2. #2
    Join Date
    Oct 2010
    Location
    Australia
    Posts
    4

    Default Re: Dos Window Output to TXT

    You could try this program-name > textfile-name.txt it will write everything that is displayed in the dos window to the file, but you will not be able to view the output of the program until it has finished. Type textfile-name.txt will display the text file.

    Like this you are in a dos windows and type this dir > dir.txt

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •