November 25, 2002

Using the CreateDirectory API function

The VB’s MkDir function creates a directory in a specified path. If the directory already exists, MkDir raises error 75 (Path/file access error); yet, it raises the same error code

EvalFileName – Ensure that the basename of a file or directory is valid

‘ EvalFileName ensures that the basename of a file or directory’ conforms to the Microsoft file naming guidelines (see MSDN webpage)’’ naming_a_file.asp” Return value:’ True = Valid basename’ False