You are here: PSPad forum > Bug report / Hlášení chyb > Re: Bug when overwriting text file with a shorter version
Posted by: blubbb | Date: 2017-09-11 14:12 | IP: IP Logged
I use PSPad to take down notes on a text file on a usb key drive that is connected to my router.
If I follow these steps a problem occurs:
1. Open PSPad
2. In a new text file (DOS / Ansi) enter "testtest"
3. Save as a.txt
4. Close a.txt
5. Reopen a.txt
6. Replace "testtest" by "abc"
7. Save a.txt
8. Close a.txt
9. Reopen a.txt
You will see the text is not "abc" as previously saved but "abcttest" instead! So there is some residue from the old version of the file. This happens only on the network drive, not locally.
Only PSPad has this problem. I can do this on the Windows command line and all is correct:
R:\>echo testtest > a.txt
R:\>echo abc > a.txt
Edited 1 time(s). Last edit at 2017-09-11 14:14 by blubbb.
Posted by: pspad | Date: 2017-09-11 17:14 | IP: IP Logged
I am afraid I am not able to simulate it.
Which PSPad version do you use?
Can you confirm your bug with PSPad 5 (available in the developer forum)?
Posted by: blubbb | Date: 2017-09-11 17:57 | IP: IP Logged
Apparently the bug is gone in version 5. Thanks.
Posted by: pspad | Date: 2017-09-11 19:02 | IP: IP Logged
Thank you for info