Archive: Path Seperator


Path Seperator
I want to use paths accepted from Custom Pages using DirRequest and FileRequest to create a configuration file as part of the installation.

How could I escape the \ seperator to something like \\ or /.

Eg.

C:\Test\Install to c:\\Test\\Install

Also how could I remove spaces from path name

Eg.

c:\Program Files\Test to c:\\Progra~1\Test

TIA


1. http://nsis.sourceforge.net/archive/...b.php?page=124

2. GetFullPathName /SHORT $INSTDIR $INSTDIR

-Stu