Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

migrated from stackoverflow.com Jan 15 '11 at 1:17

This question came from our site for professional and enthusiast programmers.

1  
Use Notepad2 (F5 refreshes) –  Jesse Jan 13 '11 at 17:12
    
Use a Windows port of the Unix tail command –  Tim Robinson Jan 13 '11 at 17:14
4  
Get Notepad++!!! –  muntoo Jan 15 '11 at 1:31

6 Answers 6

No.

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

share|improve this answer
2  
+1 for the second paragraph :) –  Michael Lowman Jan 13 '11 at 17:11
3  
Humorous, yes, but not as helpful as your comment. –  JYelton Jan 13 '11 at 18:11

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.

share|improve this answer
    
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. flos-freeware.ch/notepad2.html –  Rob Mar 20 '12 at 14:21

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

share|improve this answer
    
You can even set it to auto-update, if you wish. It's all in the Tools->Settings->Misc section. –  muntoo Jan 15 '11 at 1:32

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.

share|improve this answer

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.

share|improve this answer

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).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.