using quote (') in a Delphi string

Posted by alex on July 28, 2004

I have a problem. One of my folders is named c:\windows\desktop\nana's folder. When I do any kind of thing to this there is a problem because nana's causes the problem. How do I do this
DeleteFile ('C:\windows\desktop\nana's folder');

The problem is when it gets to nana' it things the line of code is over. How do you get around this without renaming everything.

Related Articles and Replies

[ DelphiLand FAQ ]