<http://forum.pspad.com/read.php?f=2&i=12224&t=12209> ----------------------------------------------------------------
One possible solution would be to treat everything between backslashes as a path. Basically you would find the left-most and the right-most backslash in the string and add all non-white characters on all sides. This would, of course, cause problems if there would be any other backslash on the line - but it is likely that those cases would be much fewer than the occurence of the existing problem. There is no easy solution - only a lot of ugly ones - like trying the above and checking for existence of file/directory path of the resulting string - and if not found, removing one backslash from it and trying again... -- PSPad freeware editor http://www.pspad.com
