I have noticed with Windows 7 64-bit that when I try to save files using PSPad
into certain directories (like inside Program Files), I get a permissions error.
That's OK, I'm not complaining about that. I save to the desktop and then drag
from the desktop to the right directory. When I move the file from the desktop
to the "Program Files" subdirectory, Windows 7 will tell me only administrators
can do that, I click "confirm", and the file is moved.

I only mention this because a file that I had tried to save into a "Program
Files" subdirectory with PSPad is now acting strangely. I tried to save it
inside a "Program Files" subdirectory using PSPad, got an error, so instead I
saved it to the desktop using PSPad, and then in Windows Explorer dragged it
from the desktop to the correct location inside "Program Files". Now, when I
open the file, PSPad is doing something unexpected.

----------------------------
Test 1:
I have a file named
C:\Program Files\Oracle\Inventory\ContentsXML\inventory.xml

If I open it with Notepad, I see 13 lines of text.

If I open it with PSPad (right-click on the filename and choose PSPad from the
right-click menu), I see 15 lines of text! The contents are not the same than
what Notepad shows me!

----------------------------
Test 2:
I rename the file.
Old name:
C:\Program Files\Oracle\Inventory\ContentsXML\inventory.xml
New name:
C:\Program Files\Oracle\Inventory\ContentsXML\inventory2.xml

(only difference is an extra "2" at the end of the filename. When I rename the
file, Windows 7 tells me "you have to an administrator", I click on "Confirm".

Now I open inventory2.xml

If I open it with Notepad, I see 13 lines of text.

If I open it with PSPad, I see 13 lines of text! Now it is showing me the same
as Notepad.

After I renamed the file in Windows Explorer, PSPad showed me different file
contents when I opened it.

----------------------------
How can this happen? Am I crazy?


PSPad 4.5.4 (2356)
Windows 7 Enterprise (64-bit)

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

Odpovedet emailem