in reply to how to open a separate notepad

Hi,

Are you asking how to open an instance of notepad.exe from within your TK program?
If so you may want to look at Win32::Process. The cpan documentation gives opening notepad.exe as an example.

On the other hand, you could open another TK window which displays the data from your text file.

Hope this helps

Martin