Ns rmdir

From AOLserver Wiki
Jump to: navigation, search

Man page: http://aolserver.com/docs/tcl/ns_rmdir.html


NAME

ns_rmdir - Remove a directory

SYNOPSIS

ns_rmdir dir

DESCRIPTION

This command removes a directory from the filesystem.
This is a legacy command from when Tcl did not have this functionality. It is now recommended you use

Tcl's 'file delete command instead. In other words, this:

   ns_rmdir $dir

is equivalent to:

   file delete -- $dir

EXAMPLES

   % ns_mkdir /tmp/ns_rmdir
   % ns_rmdir /tmp/ns_rmdir

SEE ALSO

ns_chmod, ns_link, ns_mkdir, ns_rename, ns_symlink

Category Documentation - Category Core Tcl API