Simple DOS question

Discussion in 'Operating Systems' started by silverwolf0, Jan 19, 2007.

  1. silverwolf0

    silverwolf0 Gawd

    Messages:
    613
    Joined:
    Jan 14, 2004
    Hello. I have a command line program that checks to see if rmvb are broken or not. I created a batch file to run all my files through this program. However, when the batch is done, only info for the last 10 files are shown and it cuts off after that.

    Is there any way to save what appears in the command prompt into a log file or to make it so it doesn't cut off after so many lines of text has been shown? Thanks in advance.
     
  2. DragonNOA1

    DragonNOA1 [H]ardness Supreme

    Messages:
    4,302
    Joined:
    Aug 15, 2004
    I know I've used something like this in the past

    C:\program.exe > output.txt
     
  3. FalseGod

    FalseGod Limp Gawd

    Messages:
    479
    Joined:
    Jun 7, 2004
    Or use >> to append the file. Since you are writing logs, that might be more useful.
     
  4. silverwolf0

    silverwolf0 Gawd

    Messages:
    613
    Joined:
    Jan 14, 2004
    thanks for the quick replies.