Escape the backslash before using it $errorCode = $TK->OpenOutputFile("D:\\public\k1\\compiledCIO\\$filename"); Luis ----- Original Message ----- From: <Ron.Herhuth@xxxxxxxxxxxxxxxxx> To: <php-windows@xxxxxxxxxxxxx> Sent: Monday, March 22, 2004 4:32 PM Subject: back slash issue > > I have a situation where I need to use backslashes as part of the string: > > $errorCode = $TK->OpenOutputFile("D:\public\k1\compiledCIO\$filename"); > > Obviously in the above example the backslash terminates the following > character which causes a problem. I have tried several different > arrangements and each time something occurs that causes problems with the > string. Any suggestions?? > > Thanks, > Ron > > > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php