i am using unrar.ocx and getting the filename extracted from it which i am using to move the file extracted to another folder but i am getting the error
"illegal characters found in path"!!!! i debugged it.. what i found was weird is the filename variable have value:

"c:\temp\myfile.txt

with not quote at the end.... my question is ..is there a way to remove all illegal characters in a path to make it correct???