14

Say, for example, that there's one process that's writing to a file. While the process is running, I opened the file in notepad. The process keeps writing to the file.

Other than closing and reopening the file, is there any way for me to "refresh" the data that notepad is showing?

Oliver Salzburg
  • 87,539
  • 63
  • 263
  • 308
chama
  • 243

6 Answers6

21

No.

Here are some more words to make the answer long enough to go beyond the 30-character minimum.

20

While it isn't possible with notepad, there are many notepad replacements. They usually have this feature. Notepad++ is my personal favorite, and the one I'd recommend.

Michael Lowman
  • 806
  • 4
  • 11
  • Notepad2, like stated in the comment of the question, is much more like regular notepad, but with all the advantages of Notepad++. – Chuck Jan 18 '11 at 22:24
  • And I still have to google for it. http://www.flos-freeware.ch/notepad2.html – Rob Mar 20 '12 at 14:21
7

Other than closing and reopening the file...

You don't have to close the file. Use file>Open or Crtl+O to reopen the file. That way you don't have to open a new instance of notepad.

Other than that, I agree with everyone else. Use a different editor.

Diogo
  • 30,480
Tony
  • 170
4

No, however if you use other Notepad alternatives like, Notepad++ it will notify you if the file has been altered since opened.

1

If you want to watch a file as it is actively being written to, then you want a program capable of following it such as baretail.

JYelton
  • 3,247
0

Baretail is a great program, but better is the free PSPad, which I use for all kinds of text file editing, including programming and it has syntax highlighting for a couple dozen different kinds of programming languages/file types, which is really nice. It also has an autorefresh, and the refresh rate is settable in the settings (I like 3 seconds).