Page 1 of 1

does folder exist

Posted: Tue Jan 14, 2020 8:27 pm
by dtussman
what's an easy way to check to see if a folder exists

Re: does folder exist

Posted: Tue Jan 14, 2020 8:36 pm
by cnavarro
Try with

Code: Select all

      if !hb_DirExists( cFld )
         if hb_vfDirMake( cFld ) == 0
.../...
 

Re: does folder exist

Posted: Tue Jan 14, 2020 8:39 pm
by nageswaragunupudi

Code: Select all

? IsDir( cSpec )
 

Re: does folder exist

Posted: Wed Jan 15, 2020 9:05 pm
by dtussman
thanks everyone