I am trying to do this programmatically this is the code that I am using:
Code:
CLS
Color n/n
Shell "cmd.exe /C mode con lines=50"
$logspath=$wkstadrv+"\tivoli\lcf\dat\1\"
$tivolilogs=$wkstadrv+"\tivoli\lcf\dat\1\remote.dir",$wkstadrv+"\tivoli\lcf\dat\1\lcfd.log",
$wkstadrv+"\tivoli\lcf\dat\1\lcfd.bk",$wkstadrv+"\branch.txt"
For Each $log in $tivolilogs
If Exist ($log)
Open (1,$log,2)
$parse = ReadLine (1)
Color w+/n
Do
?$parse
$parse=ReadLine (1)
Until @ERROR <> 0
Close (1)
Color g+/n
?"Press any key to continue. "Color y+/n $log Get $continue
EndIf
Next
Shell "cmd.exe /C mode con lines=25"
This allows to see the files on one screen without having to scroll up. When I reset the size to 25 when I return to the menu listings for this program the buffer is gone.
If anybody has any ideas on how to modify this code so the buffer is maintained it would be greatly appreciated.
_________________________
I haven't failed. I just found another way that did not work.