Back Slash in Confirm dialog

I’m aware that this topic has been covered to a certain extent before, but I am still unable to get the following to work. I am trying to include a full file path name in a confirm dialog. This is the code I have is : rProceed:= CONFIRM(STRSUBSTNO(‘The file %1 already exists.\Do you want to replace the existing file?’,vReportName),TRUE) ; where vReportName contains a string in the format c:\dirname\filename.txt . The problem with this is that the back slashes are being treated as a line feed character so the file name is being broken up. However, I notice that the following code does work: MESSAGE(‘The file %1 already exists.\Do you want to replace the existing file?’,vReportName); This displays the complete string exactly as I require, but only in a message box. Is there a work around for this? Thank-you in advance.

Try without STRSUBSTNO - like this: rProceed:= CONFIRM( 'The file %1 already exists.\Do you want to replace the existing file?', TRUE,vReportName) ;

You should use rProceed:= CONFIRM(‘The file %1 already exists.\Do you want to replace the existing file?’,TRUE,vReportName) ;

Sorry I was 1 minute late.

Thank you - that’s does exactly what I want.