Checking the existence of a directory
By: Tim Jones Date: 15/10/1998
File:

direxists.zip

Size:

382 bytes

Download now!

This function checks the existence of a path. It returns True if it exists, False if not.

Syntax

DirExists (dirpath$)

Parameters

dirpath: path of the directory to check (i.e. C:\Games)

Type of data

Boolean

Returns

True if the directory exists
False if the directory does not exist

-

The function is contained in a module. You can cut and paste it in any program of yours.

Click Here!


Visual Basic Programming Zone is a website by Lorenzo Dalla Vecchia.
Webmaster's e-mail: webmaster@vbprogzone.cjb.net
Hosted by InWind: www.inwind.it