Programmer:
--------------------------------------------------------------------------------
A new file is based on your default file type, or current open selected file
(unless you select the option New Default: Always This Type).  If you open
FILE.txt then select File > New you get New1.txt.  If you open FILE.TXT then
select File > New you get New1.TXT.

These files New.TXT and New.txt are viewed exactly the same by Windows (of any
version).  Both files cannot exist at the same time.  If you open a DOS window
and type DIR /ON you get a directory listing by filename, case insensitive.  If
you open a Windows Explorer window and sort the files by name, it is case
insensitive.  If Windows Explorer tells you the generic file type, it will show
the uppercase "EXT File".  If you create file "New.TXT" then call a method which
asks Windows "Does New.txt exist?" it will return YES.
--------------------------------------------------------------------------------


I don't think you understand my question (in the first post). 

The problem does not happen with File -> New in PSPad, but happen with Right
Click on Desktop (for example) -> New -> Text Document:

1. The first time, right after exiting PSPad: the file is "New Text
Document.txt".

2. The second time: the file is "New Text Document(2).TXT".

3. The third time: "New Text Document(3).TXT"

...
Check Registry, I found that [HKEY_CLASSES_ROOT\.txt] was changed to
[HKEY_CLASSES_ROOT\.TXT]

If I change [HKEY_CLASSES_ROOT\.TXT] back to [HKEY_CLASSES_ROOT\.txt], and try
to repeat the above file creation, then 

1. The first time, right after exit PSPad: the file is "New Text Document.TXT".

2. The second time: the file is "New Text Document(2).txt".

3. The third time: "New Text Document(3).txt"
...

Note that this problem does not happen to Windows XP. I don't think this issue
is not on Vista, since other editors don't get the same problem. So far, only
PSPad get this.

I'm looking forward to your resolution.
Regards,
BT.

-- 
<http://forum.pspad.com/read.php?2,49593,49644>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem