From 962d787224d5d7c217892e589066dd20eeb82f74 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 8 Aug 2003 22:03:11 +0000 Subject: [PATCH] Rename can't overwrite git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2795 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/basic.but | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docs/src/basic.but b/Docs/src/basic.but index 06092b16..ab82383f 100644 --- a/Docs/src/basic.but +++ b/Docs/src/basic.but @@ -52,7 +52,7 @@ Adds file(s) to be extracted to the current output path ($OUTDIR). \c [/REBOOTOK] source_file dest_file -Rename source_file to dest_file. Functions just like the Win32 API MoveFile, which means you can move a file from anywhere on the system to anywhere else, and you can move a directory to somewhere else on the same drive. If /REBOOTOK is specified, and the file cannot be overwritten, then the file is moved when the system reboots -- if the file will be moved on a reboot, the reboot flag will be set. The error flag is set if the file cannot be renamed (and /REBOOTOK is not used) or if the source file does not exist. +Rename source_file to dest_file. Functions just like the Win32 API MoveFile, which means you can move a file from anywhere on the system to anywhere else, and you can move a directory to somewhere else on the same drive. It also means the destination file must not exist or the move will fail . If /REBOOTOK is specified, and the file cannot be moved, then the file is moved when the system reboots -- if the file will be moved on a reboot, the reboot flag will be set. The error flag is set if the file cannot be renamed (and /REBOOTOK is not used) or if the source file does not exist. \S2{reservefile} ReserveFile