MultiCmd: One NSIS command instead of multiple: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Created by user: Afrow UK.)
 
m (Adding new author and category links.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageAuthor|Afrow UK}}
== Links ==
== Links ==
[[Image:Zip.gif]] [http://myweb.tiscali.co.uk/imker/downloads/MultiCmd.zip MultiCmd.zip] (22 KB)
<attach>MultiCmd.zip</attach><br>
[[Image:Zip.gif]] [http://myweb.tiscali.co.uk/imker/downloads/MultiCmd.zip MultiCmd.zip] (22 KB) (Mirror #1)


Extract to NSIS folder and place !include MultiCmd.nsh at the top of your script.
Extract to NSIS folder and place !include MultiCmd.nsh at the top of your script.
Line 24: Line 27:
-Stu
-Stu


Page author: [[User:Afrow UK|Afrow UK]]
[[Category:Compile-Time Macros]]

Latest revision as of 12:43, 24 June 2005

Author: Afrow UK (talk, contrib)


Links

MultiCmd.zip (22 KB)
Zip.gif MultiCmd.zip (22 KB) (Mirror #1)

Extract to NSIS folder and place !include MultiCmd.nsh at the top of your script.

Description

Sometimes you might want to use one File command for loads of files, or one Var command for loads of variables.

Well now you can!

How To Use / Examples

${MultiCmd} Var 'myVar1, myVar2, myVar3'

...makes 3 vars

${MultiCmd} File '"file with spaces", "/oname=blah.txt" "file2.txt", file3.txt'

...adds the 3 files

Use \, to escape commas (else comma is a parameter seperator).

-Stu