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

File Class: IsLocalDrive

Previous  Top  Next  


Prototype: (String pPath),Byte

 

pPathPath to the drive root.  This can be a full file path.

 

ReturnsTrue or false depending on if the drive is a local drive or not

 

This method checks if a drive is a local drive or not.  A local drive is a fixed drive, removable drive, CD/DVD and RAM disk. 

 

Example:

ITF  ITFileClass

Code

If ITF.IsLocalDrive('c:\')

  Message('C:\ is local drive')

Else

  Message('C:\ is NOT local drive')

End

 

 

See also:

GetFilePart

Is98NetCompatible

GetDriveType

 



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