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: [email protected] <[email protected]> From: Jack Skelley <[email protected]> > Jerry: > How about something like: > if not directory(gcCurrent_dir + "\Spreadsheets") then > mkdir(gcCurrent_dir + "\Spreadsheets") > endif > Regards, > > Jack Skelley > > ________________________________________ > From: [email protected] [[email protected]] On Behalf > Of Jerry Foote [[email protected]] > Sent: Tuesday, March 01, 2011 11:33 AM > To: [email protected] > 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: [email protected] 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/[email protected] ** 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.

