Test for drive and/or subdir on SINGLE-USER systems only.


      FT_EXIST( <cDriveDir> ) -> lResult


     <cDriveDir> is a character string containing drive spec (with colon)
     or drive spec and path to and including subdirectory being tested
     for.  Do not include backslash after subdirectory.  If drive spec
     is not part of string, the current drive is tested.


     <lResult>  as logical -
     .T. if drive exists, or subdirectory exists on specified drive
     .F. if drive or subdirectory does not exist


     FT_Exist() tests for the existence of a drive and/or subdirectory...
     on single-user systems ONLY.  You may get correct results on some
     networks under certain conditions, but this function is not capable
     of working reliably on networks.


    IF FT_EXIST( "D:" )
       Qout("OK To Perform Operation On Drive D:")

 Source: EXIST.PRG



One response to “FT_EXIST

  1. Pingback: FT Environment | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s