|
|
#1 |
|
Junior Member
|
Hey
I am trying to set the value of a regsitry string to something that in C would look like this "\"ASDF\" \"%1\"". Can anyone help me? Oh, I almost forgot ... Which are the escape characters in the NSIS script language? thanks Mr Bear |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
From a Search in the Help File for "escape"
Result 1: "Script Files" 2.2 Script Files If you want to use a double-quote in a string you can either use $\" to escape the quote or quote the string with a different type of quote such as ` or '. Result 2: "Script File Format" 4.1 Script File Format Quotes only have the property of containing a parameter if they begin the parameter. They can be either single quotes, double quotes, or the backward single quote. You can escape quotes using $\: code: So... code: You'll see the third variation used a lot in scripts as a backward quote is practically never used in plain writing or in parameters/arguments/etc. in command lines and other computer-related instances. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|