From 93338d986c383d7cdb961b172612e1cb6233e797 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 19 Nov 2004 12:09:13 +0000 Subject: [PATCH] added information about SetOutPath and RMDir git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3769 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/basic.but | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Docs/src/basic.but b/Docs/src/basic.but index 9948a210..d76b8f47 100644 --- a/Docs/src/basic.but +++ b/Docs/src/basic.but @@ -97,6 +97,17 @@ Remove the specified directory (which should be a full path). Without /r, the di \c RMDir /r /REBOOTOK $INSTIDR \c RMDir /REBOOTOK $INSTDIR\DLLs +Note that the current working directory can not be deleted. The current working directory is set by \R{setoutpath}{SetOutPath}. For example, the following example will not delete the directory. + +\c SetOutPath $TEMP\dir +\c RMDir $TEMP\dir + +The next example will succeed in deleting the directory. + +\c SetOutPath $TEMP\dir +\c SetOutPath $TEMP +\c RMDir $TEMP\dir + \S2{setoutpath} SetOutPath \c outpath