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