The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: six_L on May 26, 2006, 08:47:41 AM

Title: Directory
Post by: six_L on May 26, 2006, 08:47:41 AM
hey,all

i'm glad to see the forum up.
the forum runs faster than the past. my access doesn't need to freeproxy.
;----------------------------------------
invoke CreateDirectory,addr CreatePath,NULL
the above code can only create ONE stair Directory. How do create multi stair Directory?
Title: Re: Directory
Post by: zooba on May 26, 2006, 11:35:54 AM
Do CreatePath for each level. Alternatively, I once saw a function floating around in an installation DLL called "EnsurePathExists" or something similar which would create any directories required. Have a look at the functions in SHLWAPI; there's a lot of useful stuff in there.

Cheers,

Zooba :U
Title: Re: Directory
Post by: six_L on May 26, 2006, 01:16:11 PM
Hey,zooba
Thanks you for response.
:U
i can't find the API help. could you tell some detail?

best regards