MIAMEX 39: Delete path

xcall MIAMEX, MX_RMPATH, dirspec, status

MX_RMPATH deletes the specified native operating system directory.

dirspec is the directory name to delete, e.g. c:\vm\junk or /vm/junk".

status (F,6) will return 0 for success, else an error number. You may use MX_ERRNOMSG to translate the error number to a text message.