The first arg is the name of the new directory. The second arg is "CREATE".
/* Create a directory named "Dir1" */ err = InetDir("Dir1", "CREATE")
If desired, the new directory name can be qualified relative to the current directory. For example, assume your current directory is "Dir1". There is a directory named Dir2 inside of Dir1. To create a new directory named Dir3 inside of Dir2, you call:
/* Create a directory named "Dir3" (in Dir1/Dir2) */ err = InetDir("Dir2/Dir3", "CREATE")