Open a text file in notepad but go to a certain line

jwilderjwilder Member Posts: 263
In NAV I have a record that lists the path of a file, the line # and pointer position. I would like to use this info to open the text file and go to a certain position or line.

I have used the shell command in the past to open a file but do not know how to visibly move to a certain position in the file.

Here is the code I would use to open the file:
IF ISCLEAR(ShellControl) THEN
CREATE(ShellControl);
ShellControl.Open("Full File Path");

Any thoughts on how to move to a certain line?

Comments

Sign In or Register to comment.