Tag Archive: createdirectory


How to Create Directories Recursively with Win32

As I just found out, the CreateDirectory function on Win32 can only create one directory at a time. If one, for example, specifies C:\Users\All Users\FirstNew\SecondNew as the directory to create, and both FirstNew and SecondNew do not exist, then CreateDirectory() fails. That’s less than ideal for some cases. Recently, for example, I wanted my game …

Continue reading »

Social Widgets powered by AB-WebLog.com.