#1
|
|||
|
|||
Grabbing a long list of data output from screen
Hi guys,
So am trying to grab a whole lot of output of a command from the command line. I am using crt.screen.send to punch the command on to the CLI and using a temporary text file to read each line. Here is what am doing, Quote:
The problem with this is that I can't read the lines after certain lines which in real time would require me to hit a spacebar. I am using vbcrlf to display all the output on the screen but am only able to grab the lines or output before I am giving the command "vbcrlf" for instance if have several lines as output, line1 line2 . . . . line30 Press any key to continue (Q to quit) This is where I am required to hit spacebar in real time when working with script. I gave several vbcrlf to overcome the challenge of hitting spacebar in the script. What am unable to do though is not able to grab the entire output all am getting is till Press any key to continue (Q to quit), although I can literally see the rest of the output being displayed on the screen. So it should be something like this (assuming am getting 60 lines on the screen), Quote:
Quote:
I may sound crazy, I hope I conveyed my point. Please correct my mistake and help me read all the output of this particular command. Thanks in advance! Yuvi |
Thread Tools | |
Display Modes | Rate This Thread |
|
|