Paul,

Here's how:

-- Check the existence of PDF folder
SET VAR vChkFile = (CHKFILE('PDF'))
IF vChkFile <> 1 THEN
   MD PDF
ENDIF

Hope that helps!

Very Best R:egards,

Razzak.

P.S. You may also find more eloquent examples included with SAT Sample 
Aplications.
Folders:
\AdvancedDBBackupRoutines
\DefiningHotSpotsInReports
\Generating_XLS_XLSX_Files
\ManagementTools
\UsingGatewayExportToCreateXLSWorkSheets
-----Original Message-----

From: "Paul Buckley" <[email protected]>

To: [email protected] (RBASE-L Mailing List)

Date: Thu, 20 Oct 2011 10:03:18 -0400

Subject: [RBASE-L] - Looking for a SAT Example




I’m looking for an example from a SAT class sample.  I can’t remember 
which of the hundreds I now have to look in.  I’m needing to check for the 
existence of a directory on the hard drive and create the directory if it is 
not there.  Can anyone point me in the right direction and save me from 
searching through hundreds of SAT examples?

Thanks in advance,
Paul

Reply via email to