Free Support Forum - groupdocs.com

Folder Name with '


#1

Following is my file path, but it does’t show the pdf file. I think it is because of the '. I tried many methods but still in vain.



.FilePath(@“Test\McDonald’s Restaurant\test.pdf”)


#2
Hello,

Thank you for your request. Yes you are right, the ' symbol is not allowed in the path since you can't escape this symbol (in case that you will use escaping "\" in the path it will be recognized as part of the path, it will look for folder "McDonald" and then folder " 's Restaurant"). Since that you should remove ' from the folder name.

If you will have more questions please feel free to contact us.

#3

Except for ', any other special character is not allowed?


#4

Hello,


Thank you for coming back. No all other symbols are allowed.

If you will have more questions please feel free to contact us.