LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

option launching notepad.exe with cursor at the end ?

Hi,
In my application I open text file with notepad.exe. And so I was wondering if it possible to open that .txt
file with the edit cursor standing on the end of the file.

thank you very much
0 Kudos
Message 1 of 2
(3,000 Views)
The only way I can think of to solve someway your problem is the use of "log files", a not well known feature of notepad.
If you put at the very beginning of your text file the row ".LOG" (uppercase and with the initial dot) the system will append date and time to the document when opening it, and the cursor will be at the end of the document.
Both of those characteristics can be useful for you. A disadvantage is that in this way the system prompts you to save the document when exiting from it.

Tested in Win98 & Win2K.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(3,000 Views)