does folder exist

does folder exist

Postby dtussman » Tue Jan 14, 2020 8:27 pm

what's an easy way to check to see if a folder exists
dtussman
 
Posts: 97
Joined: Sat Jun 06, 2015 6:57 pm

Re: does folder exist

Postby cnavarro » Tue Jan 14, 2020 8:36 pm

Try with
Code: Select all  Expand view  RUN

      if !hb_DirExists( cFld )
         if hb_vfDirMake( cFld ) == 0
.../...
 
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: does folder exist

Postby nageswaragunupudi » Tue Jan 14, 2020 8:39 pm

Code: Select all  Expand view  RUN

? IsDir( cSpec )
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10659
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: does folder exist

Postby dtussman » Wed Jan 15, 2020 9:05 pm

thanks everyone
dtussman
 
Posts: 97
Joined: Sat Jun 06, 2015 6:57 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests