Solved

# in file name

Posted on 2013-01-22
4
152 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

821 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