Page 1 of 1

File extension ending with spaces [fixed]

Posted: 15 May 2014 06:45
by bdeshi
If I want to rename "file.txt" to
"file.txt  "
, filename collision prompt comes up.
If "overwrite" is selected, "system cannot find the file specified" keeps popping up. Now refresh, and the file is gone forever!
("suffix" renames successfully to
"file-001.txt  "
, although renaming this suffixed file again has the same problem)

Now, I know it's Windows' own problem, but shouldn't XY handle the situation with more safety?

More importantly, can anyone tell me how to get the file back? :blackstorm:

Re: File extension ending with spaces

Posted: 15 May 2014 07:53
by admin
SammaySarkar wrote:If I want to rename "file.txt" to
"file.txt  "
, filename collision prompt comes up.
How do you do this? I fail to get any prompt... :?

Re: File extension ending with spaces

Posted: 15 May 2014 09:02
by bdeshi
For the lack of a pc nearby, key sequence:
CTRL+SHIFT+n, f,i,l,e, ENTER, F2, END, SPC, SPC, ENTER, (collision dialog should be here) LEFT, ENTER, (overwrite prompt) ENTER, (file not found msg) ENTER, ESC, F5. file.txt disappears. For the other case, repeat and select suffix.

Re: File extension ending with spaces

Posted: 15 May 2014 09:05
by admin
It does not happen here. No collision dialog.

Can anybody repro this?

Re: File extension ending with spaces

Posted: 15 May 2014 09:43
by bdeshi
Here's a screencap. Sorry for the huge size...
EDIT:since the problem was fixed, removed said huge screencap.

Re: File extension ending with spaces

Posted: 15 May 2014 10:06
by LittleBiG
admin wrote:It does not happen here. No collision dialog.

Can anybody repro this?
Nope. Win7x64

Re: File extension ending with spaces

Posted: 15 May 2014 11:47
by admin
Got it: It's the totally undocumented RenameAllowLeadingSpaces tweak. It has a bug. Fix comes.

Re: File extension ending with spaces

Posted: 15 May 2014 11:56
by bdeshi
:appl: to all bugs: resistance is futile... :biggrin:

Meanwhile, any way to get back the lost files?

Re: File extension ending with spaces

Posted: 15 May 2014 12:15
by admin
No, they are gone. :om: Unless you have "recuva" or something similar.

Re: File extension ending with spaces

Posted: 15 May 2014 13:34
by bdeshi
Alright, I've recovered the file.
I didn't think for once it was just deleted :oops: was so sure the file system ate them.

Thanks again!

Re: File extension ending with spaces [fixed]

Posted: 21 Dec 2016 12:24
by admin
The next beta will handle those beasts with more grace.