1.

Solve : Need some help with long text!!!?

Answer»

Hi

I ran a dos program that gave me some information... but... there is so much information that at some point, I can't see the rest of it.

Is there any way to scroll up or to dump all the INFO in a text file?


thanksuse >>

type myfile.exe>>myfile.txt
It says that it's not recognized has an internal or external command :S

whats the command your using?
say the information you want is in dir..

dir >>myfile.txtwell i'm ALREADY in a directory... so I just use

nameOfExe.exe>>testFile.txt

should I use dir nameOfExe........
no sorry..that was just an example

what is the name of the command your using that displays to much information?
using >> will redirect output of the command into a file..

so if you typed dir you would see a listing of files and folders
and if you typed dir >>myfile.txt , instead of seeing a listing of files it would send
that information to myfile.txt in the same directory
it's a exe file that gives me the info...

I tried doing test.exe >> myfile.txt but it gave me an error because the program is looking for a certain file to get the information.

When i just type test.exe it gives me the info... is there any way I can TAKE what's on the screen and put it in a txt file? or is the >> (using the exe) the only way?Quote from: earth4x on November 14, 2007, 11:45:14 AM

I tried doing test.exe >> myfile.txt but it gave me an error because the program is looking for a certain file to get the information.
what kind of error, do you mean that test.exe needs an input file?

the double redirection (>>) will append the output at the end of the selected file
Code: [Select]nameOfExe.exe >> file.txt
you could use only one redirection (>) this will overwrite the file
Code: [Select]nameOfExe.exe > file.txt
you might also try the MORE command:
Code: [Select]nameOfExe.exe | more /p ? ? ?


Discussion

No Comment Found