File extension ending with spaces [fixed]

Things you’d like to miss in the future...
Post Reply
bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

File extension ending with spaces [fixed]

Post 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:
Last edited by bdeshi on 23 May 2014 17:33, edited 1 time in total.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60530
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: File extension ending with spaces

Post 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... :?

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: File extension ending with spaces

Post 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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60530
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: File extension ending with spaces

Post by admin »

It does not happen here. No collision dialog.

Can anybody repro this?

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: File extension ending with spaces

Post by bdeshi »

Here's a screencap. Sorry for the huge size...
EDIT:since the problem was fixed, removed said huge screencap.
Last edited by bdeshi on 23 May 2014 17:32, edited 1 time in total.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

LittleBiG
Posts: 1846
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: File extension ending with spaces

Post by LittleBiG »

admin wrote:It does not happen here. No collision dialog.

Can anybody repro this?
Nope. Win7x64

admin
Site Admin
Posts: 60530
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: File extension ending with spaces

Post by admin »

Got it: It's the totally undocumented RenameAllowLeadingSpaces tweak. It has a bug. Fix comes.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: File extension ending with spaces

Post by bdeshi »

:appl: to all bugs: resistance is futile... :biggrin:

Meanwhile, any way to get back the lost files?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60530
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: File extension ending with spaces

Post by admin »

No, they are gone. :om: Unless you have "recuva" or something similar.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: File extension ending with spaces

Post 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!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60530
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: File extension ending with spaces [fixed]

Post by admin »

The next beta will handle those beasts with more grace.

Post Reply