In article <email@example.com>,
Paul Thomas <firstname.lastname@example.org> wrote:
> In article <email@example.com>,
> "F a b r i z i o" <Fabrizio1@usa.net> wrote:
> > Andreas Grueninger wrote in message
> > >
> > >routine CreateDirectoryA
> > > module=KERNEL32
> > >RUN;
> > Why build such extremely complex routines if
> > rc = SYSTEM('MKDIR C:\TEMP\DIR');
> > can solve the whole problem?
> > Grtz., Fabrizio
> Quite simply because using the SYSTEM command opens a DOS box, and
> nothing is more unattractive.
In addition, if you're doing this for a large number of directories the
additional overhead of the SYSTEM call, even with the noxwait and
noxsync options set, is a huge burden compared with using the Windows
Although I haven't any figures to hand, ISTR when I tested the two
approaches recently, creating over 10000 subdirectories in about 500
directories, the API method was several orders of magnitude faster.
Black Cat Solutions Ltd.
SAS Software Specialists
Sent via Deja.com http://www.deja.com/
Before you buy.