Inno Setup Preprocessor: AddQuotes

Prototype

str AddQuotes(str S)

Description

Adds a quote (") character to the left and right sides of the string if the string contains a space and it didn't have quotes already. This is primarily used when spawning another process with a long filename as one of the parameters.