Notepad Bug, or Something Else

  • Thread starter Thread starter Jerry Baker
  • Start date Start date
J

Jerry Baker

Using Notepad on Windows XP, I notice that any file over about 30k, the
..LOG trick doesn't work anymore. That is to say that if .LOG is the
first line of a text file opened in Notepad, I get an error about
insufficient memory when I open the file and no date is inserted. Is
that a known problem, or am I experiencing something unusual.
 
Using Notepad on Windows XP, I notice that any file over about 30k, the
.LOG trick doesn't work anymore. That is to say that if .LOG is the
first line of a text file opened in Notepad, I get an error about
insufficient memory when I open the file and no date is inserted. Is
that a known problem, or am I experiencing something unusual.

Very old versions of Notepad had a 32k limit. The one in XP does not.
However, I don't know why your log files are causing an error. There are
some .log files that are constantly "in use" by the system to log changes
that will be applied to the registry and security when you log off. These
will hang Notepad if you try to open them.
 
Sharon said:
Very old versions of Notepad had a 32k limit. The one in XP does not.
However, I don't know why your log files are causing an error. There are
some .log files that are constantly "in use" by the system to log changes
that will be applied to the registry and security when you log off. These
will hang Notepad if you try to open them.

No. It's a TXT file with ".LOG" as the first line. This causes Notepad
to insert the date and time on a new line each time you open the file.
The file opens, it just doesn't insert the date and time after you reach
32k. Looks like when someone opened up Notepad for bigger files they
forgot to fix that function also.
 
No. It's a TXT file with ".LOG" as the first line. This causes Notepad
to insert the date and time on a new line each time you open the file.
The file opens, it just doesn't insert the date and time after you reach
32k. Looks like when someone opened up Notepad for bigger files they
forgot to fix that function also.

Sorry, Jerry. I noticed the comment about inserting date/time in the
original posts. Unfortunately, connected it with a file type rather than
that old function of Notepad. I just tried adding the command to a file
larger than 32k and I get the same error message. Either it's just an
outdated command running into permission issues or it's a bug.

Alternatives:

Press F5 just after opening a text file or use Edit> Insert Date/Time
instead of the LOG function.

Try a different text editor.

I didn't try changing the "Start in" path as mentioned in this article:
http://support.microsoft.com/kb/832434/en-us
The error message isn't exactly the same but you might want to give it a
try. That kind of variable (and the long path that goes with it) is
something that old Notepad command may not be able to deal with.
 
Back
Top