Solved

# in file name

Posted on 2013-01-22
4
150 Views
Last Modified: 2013-01-23
Hello,

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?

Thanks
test-image.htm
0
Comment
Question by:Richard Korts
  • 2
4 Comments
 
LVL 15

Expert Comment

by:Ess Kay
ID: 38806222
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
0
 

Author Comment

by:Richard Korts
ID: 38806297
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?

Thanks
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 38806827
'#' 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
0
 
LVL 15

Expert Comment

by:Ess Kay
ID: 38810537
here is one

http://www.bulkrenameutility.co.uk/Main_Intro.php

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
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now