# in file name


I have a set of odd image files that have a # in the file name.

See attached html. This does not work.

I have meticulously checked to MAKE SURE the file names is as is in this HTML; it is.

I tried replacing the # (in the HTML) with &#35. That fails too,

Do I have to eliminate the # in the file name?

Richard KortsAsked:
Who is Participating?
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
'#' will work in a file name but NOT in a URL on the web because it is used to refer to an anchor on the target page.  If it is being used on the web, you have to remove the '#'.

About encoding URLs: http://en.wikipedia.org/wiki/Percent_encoding
About file names:  http://en.wikipedia.org/wiki/Filename
Ess KayEntrapenuerCommented:
you can download a bulk renamer

what it does is you point to a folder, and select which characters to leave or delete and length. with characters, you can delete/replace anything non alphanumeric with one click

hope that helps
Richard KortsAuthor Commented:
To esskayb2d

That sounds good.

I'm still not clear if a # is not allowed in a file name (I'm guessing it is).

Did you mean to send me a link to a bulk renamer?

Ess KayEntrapenuerCommented:
here is one


if you dont like it do a google search for others, 'bulk renamer'

Also, the # may be allowed, however It might not work on the internet because browsers see the hash tag as a color reference, or a placemark on a page, so you are better off removing the hashes from your images

hope that helps
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.