- GETTING STARTED
- GUIDES
- COMMANDS
- Server connection
- File Transfer
- Directory operations
- File operations
- Script output
- Miscellaneous
- OTHER
LOCALRMDIR
Remove a local directory.
Syntax: LOCALRMDIR(directory)
- directory: relative or absolute path to the local directory you want to delete
Remarks:
- Relative path means that if the current directory is c:\ you only need to give the subdirectory, for example "windows". An absolute one means a complete path, for example "C:\windows\".
- The directory to be removed must be empty. In order to delete a non-empty directory use the EXEC command to call the external "rd" command. For example: EXEC("rd /s /q directory_name").
See also:
RMDIR
LOCALMKDIR
LOCALCWDIR
LOCALCHDIR
Return value:
If this command is executed successfully it will return "OK" . If it encounters an error it will return an error code.
Example:
#delete a local dir
LOCALRMDIR("foo")

