As an aside I was stuck with a similar problem, how to deal with the following string str="Try the "following" folder: d:\"this folder " I can replace " with \" for the normal " within the string but to save to d:\" I couldn't just add a \ to make it d:\\" it would only work when I made it d:\\\" Andrew Gibson