Author: Michael Oke, II
Posted: 2011-03-01 at 11:41:29
Jack beat me to it but that is pretty much the code that I use in
several apps to do just what you are talking about.
::michael
----- Original Message -----
Subject: RE: DOES FOLDER/DIRECTORY EXIST
Date: Tue, 1 Mar 2011 11:35:08 -0500
To: profox@leafe.com <profox@leafe.com>
From: Jack Skelley <JSkelley@newjerseydevils.com>
> Jerry:
> How about something like:
> if not directory(gcCurrent_dir + "\Spreadsheets") then
> mkdir(gcCurrent_dir + "\Spreadsheets")
> endif
> Regards,
>
> Jack Skelley
>
> ________________________________________
> From: profoxtech-bounces@leafe.com [profoxtech-bounces@leafe.com] On Behalf Of Jerry Foote [jerryfoote@bellsouth.net]
> Sent: Tuesday, March 01, 2011 11:33 AM
> To: profoxtech@leafe.com
> Subject: DOES FOLDER/DIRECTORY EXIST
>
> What is easiest way to determine weather a folder/directory exist with vfp?
>
> I know I can make a new directory with a try/catch but curious to know other
> way to check
>
> Jerry
>
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
> text/plain (text body -- kept)
> text/html
> ---
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4D6D21B9.9000805@gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.