Site hosted by Angelfire.com: Build your free website today!

isdirectory

PURPOSE ^

ISDIRECTORY True if argument is a directory.

SYNOPSIS ^

function [t, newdir] = isdirectory(dir)

DESCRIPTION ^

ISDIRECTORY True if argument is a directory.

   ISDIRECTORY(DIR) returns 1 if DIR is a directory and 0 otherwise.
   [T, NEWDIR] = ISDIRECTORY(DIR) also returns the name of the directory as
   returned by CD.  NEWDIR is empty if DIR is not a directory.

   Using EXIST(DIR, 'dir') is too unreliable.  For instance, under Windows
   it returns false if DIR is 'c:' (where c: is an existing drive) and it
   returns false and if DIR is a directory which is in the path but does
   not exist.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^


Generated on Sat 12-Mar-2005 01:01:49 by Rezaul Karim © 2004