www.icetips.com  Icetips Utilities Documentation 11/30/2010    

Utility Class: DirectoryExists

Previous  Top  Next  


Prototype:  (String pDirectory),Byte

 

pDirectoryFull path to the directory to check.

 

ReturnsTrue or false depending on if the directory exists or not

 

This method uses the Exists function to check if the directory exists or not.

 

Example:

 

P    CString(1025)

ITU  ITUtilityClass

Code

P = 'C:\Clarion\Apps\MyApp'

If ITU.DirectoryExists(P)

  Copy ('myfile.txt',P & 'myfile.txt')

End

 

See also:

IsFolder

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/directoryexists_utility.htm