unknown characteres in a script to open document
I have a script that should open a file (picture) of a part in our database
"filewin:/R:/Parts-FM12-Database/" & Left ( MTL PART# ; 2 ) & "-" & CATEGORY & "/" & MTL PART# & "/" & MTL PART# & ".jpg"
My problem is that some parts folder and pictures where not name only with their part number some text was added also so the script doesn't work all the time
R: \ PARTS-FM12-Database \ 01-Electrical \ 0189244 \ 0189244.jpg
This doesn't work:
R: \ PARTS-FM12-Database \ 03-Mechanical \ 0311264 Compressor HTC \ 0311264 Compressor.jpg
What can I add to make a general search of the pictures having unknown character?
Thanks in advance