Code to ignore/remove spaces in filenames/paths
Posted: Wed Jan 21, 2004 5:44 am
I am looking for a piece of code that will ignore the spaces in file paths and file names.
I have a variable ($longName) that holds a path (C:/Program Files/file 2.doc)
When I want to create a link for the path, it falls over at the space. Any ideas would be great.
I have a variable ($longName) that holds a path (C:/Program Files/file 2.doc)
When I want to create a link for the path, it falls over at the space. Any ideas would be great.