fixed bug #1883917 - File command reference not clear
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5504 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
42fa365f04
commit
9e812519ae
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,7 @@ Adds file(s) to be extracted to the current output path ($OUTDIR).
|
|||
|
||||
\b Note that the output file name is $OUTDIR\\filename_portion_of_file.
|
||||
|
||||
\b If the /oname=X switch is used, the output name becomes $OUTDIR\\X. When using the /oname= switch, only one file can be specified, and the file name can contain variables (or a fully qualified path, e.g. $SYSDIR\\whatever.dll). If the output name contains spaces, quote the entire parameter, including /oname, as shown in the examples below.
|
||||
\b Use /oname=X switch to change the output name. X may contain variables and can be a fully qualified path or a relative path in which case it will be appended to $OUTDIR set by \R{setoutpath}{SetOutPath}. When using this switch, only one file can be specified. If the output name contains spaces, quote the entire parameter, including /oname, as shown in the examples below.
|
||||
|
||||
\b Wildcards are supported.
|
||||
|
||||
|
@ -68,6 +68,7 @@ Adds file(s) to be extracted to the current output path ($OUTDIR).
|
|||
\c File *.exe
|
||||
\c File /r *.dat
|
||||
\c File /r data
|
||||
\c File /oname=temp.dat somefile.ext
|
||||
\c File /oname=$TEMP\temp.dat somefile.ext
|
||||
\c File "/oname=$TEMP\name with spaces.dat" somefile.ext
|
||||
\c File /nonfatal "a file that might not exist"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue