fileexists returns false when filename provided to method has 2 or more consecutive spaces in the filename. any work around?
code works when passed "normal" filename, but if the filename has consecutive spaces in it, fielexist returns false -
example -
"Diaz - 04.10.10 legal briefing" if fileexist on this filename, returns false, if take out 1 of spaces between leagl & briefing, fileexist returns true. cant find anything on web regarding known problem, dont really want to change all the filenames i need to process (someone elses data), so wondering if other options?
code works when passed "normal" filename, but if the filename has consecutive spaces in it, fielexist returns false -
example -
"Diaz - 04.10.10 legal briefing" if fileexist on this filename, returns false, if take out 1 of spaces between leagl & briefing, fileexist returns true. cant find anything on web regarding known problem, dont really want to change all the filenames i need to process (someone elses data), so wondering if other options?