◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── RMDIR removes an existing directory. RMDIR pathname$ ■ The argument pathname$ is the name of the directory that is to be deleted. It must be a string expression of fewer than 64 characters. Usage Notes ■ The directory to be removed must be empty except for the working directory ('.') and the parent directory ('..'); otherwise, BASIC generates one of two error messages, either "Path not found" or "Path/File access error." ■ RMDIR works like the DOS command of the same name. However, the syntax in BASIC cannot be shortened to RD, as it can in DOS.