#1 2013-06-22 13:49

rynd2it
Member
Registered: 2013-06-22
Posts: 4

Folder with question mark '?' will not rename

I have a Windows folder on an external drive, the filename contains a '?' and because of that I cannot remove it.

I have tried renaming it with 'Renamer' but it fails to rename. Loaded folders as files, removed all the folder and subfolders I didn't want and left just the root directory folder and the offending folder name. It also tellms me these two are in the wrong order but it doesn't matter if I change the order.

I have two screen shots showing the before & after

Before

y13i.jpg

Thanks

David

Last edited by rynd2it (2013-06-22 14:12)

Offline

#2 2013-06-22 16:10

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Folder with question mark '?' will not rename

Hi David, welcome to the community!

The windows file system doesn't accept question marks as part of a file name.
So I guess that what you see is a Unicode character that looks like our "?" ?

Please try Strip rule with this settings:

[X] English
[X] Strip all characters except selected

which should strip all but standard ASCII English chars and so remove any Unicode sign, I presume.



Here is the help for that rule: http://www.den4b.com/wiki/ReNamer:Rules:Strip


 

Last edited by Stefan (2013-06-22 16:11)


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#3 2013-06-22 16:20

rynd2it
Member
Registered: 2013-06-22
Posts: 4

Re: Folder with question mark '?' will not rename

I think it is a Unicode character as well - the file was copied from an EXT3 file system.

However I did as you suggested but the result was the same - it failed to strip and change the filename.

I still get the sort message as well despite deleting all the files except the two in my first screen shot.

Help!!!

Offline

#4 2013-06-22 16:53

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Folder with question mark '?' will not rename

Hmm, I don't know.
You can try deleting from a command prompt by escaping that question mark sign.
(Maybe you have to kill the explorer process before too?)

- close all programs

- launch cmd.exe
- start taskmgr.exe
- kill explorer.exe

- in cmd window:
C:\>G:
G:\>CD \
G:\>CD G:\Unedited
G:\>RD "went the day well^?"

- in task manager > New Task > explorer.exe





Or boot with an linux live system (test cd)




Or try "G:\>dir /x" to get the short file names, and try to use that with the RD command.





 

Last edited by Stefan (2013-06-22 17:11)


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#5 2013-06-23 08:51

SafetyCar
Senior Member
Registered: 2008-04-28
Posts: 446
Website

Re: Folder with question mark '?' will not rename

It's very strange to have a file with that character in it.

And if it's giving you so much problems I guess everything you can do is try to move the content to another folder and find a way to delete it when it's empty...

To delete files that don't want to be deleted I know about a program called Unlocker but I don't know if I should recommend it... well is not that it's a bad program at all (it is my favorite for this tasks) but... you should take very special care to DISABLE the installation of the very annoying Delta Toolbar Adware that comes with the installer... if you are interested: http://www.emptyloop.com/unlocker/#download2


If this software has helped you, consider getting your pro version. :)

Offline

#6 2013-06-23 09:07

rynd2it
Member
Registered: 2013-06-22
Posts: 4

Re: Folder with question mark '?' will not rename

Well,

DIR /X showed that it doesn't have a short name (with a ~ in it) - in fact quite a few of these files don't.

RD with the escape didin't work either (same error message)

The folder has no content so I can't move it

The reason the character is there is the filename was created on an EXT3 file system and copied over to an NTFS partition on the same disk.

I'll try a bootable linux but I suspect it won't see the NTFS files

Offline

#7 2013-06-24 10:25

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: Folder with question mark '?' will not rename

People who had the same problem seem to resort to using a Live CD of Linux to rename the file:
http://superuser.com/questions/31587/ho … -character

Try Ubuntu: http://help.ubuntu.com/community/LiveCD

Offline

#8 2013-06-24 10:41

rynd2it
Member
Registered: 2013-06-22
Posts: 4

Re: Folder with question mark '?' will not rename

OK, thanks all - ubuntu fixed it smile

David

Offline

Board footer

Powered by FluxBB