Hello to all users
Here a little tips to create a nested directory with a series of subforlders using a single Windows Api call.
First, you need to load the IMAGEHLP.LIB library into your project.
The statement:
CALL "MakeSureDirectoryPathExists"
WITH STDCALL LINKAGE
USING W-PATH RETURNING RESULT
where W-PATH field must be defined like this:
(C:\Program Files\First\Second\Three\)
Note the last "\" after the "Three": MUST BE INCLUDED..
This call create the directory "Program Files" (if it doesn't exist), then "FIRST", then "SECOND" and so on...
Have fun.
Gianni
Here a little tips to create a nested directory with a series of subforlders using a single Windows Api call.
First, you need to load the IMAGEHLP.LIB library into your project.
The statement:
CALL "MakeSureDirectoryPathExists"
WITH STDCALL LINKAGE
USING W-PATH RETURNING RESULT
where W-PATH field must be defined like this:
(C:\Program Files\First\Second\Three\)
Note the last "\" after the "Three": MUST BE INCLUDED..
This call create the directory "Program Files" (if it doesn't exist), then "FIRST", then "SECOND" and so on...
Have fun.
Gianni