From 9e812519ae49b224a7394468d31503a9f233956c Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 1 Feb 2008 16:38:53 +0000 Subject: [PATCH] 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 --- Docs/src/basic.but | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Docs/src/basic.but b/Docs/src/basic.but index 2b561cf6..03a81e90 100644 --- a/Docs/src/basic.but +++ b/Docs/src/basic.but @@ -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"