` Printed Icetips Article

Icetips Article



Par2: CreateDirectory API call
1999-03-02 -- Jim Kane
 
Prototype as:
   CreateDirectoryA(*Cstring,long),BOOL,PASCAL,RAW

call as:

  newpath cstring('C:\NewDir')

  CreateDirectoryA(NewPath,0)

Only one new level can be created at once.  Of example if you wanted to create 
c:\dir1\dir2 and dir1 did not exist, you would have to call once to get c:\dir1 then 
call again to get dir2.  One level at a time.



Printed December 3, 2024, 11:43 am
This article has been viewed/printed 35208 times.