Command Prompt for Windows


int fillpathall(void);

Create a Path Table containing all the directories and sub-directories for all drives that are non-removable.


On success, it returns the number of directories and sub-directories found, otherwise, it returns a value of zero, when no directories are found.


The directories . and .. are not included in the table.

A new Path Table is allocated with each call to this function. Use freepaths() to release the memory allocated for the table, when it is no longer needed.

The table is sorted in alphabetical order

See Also

fillpath, freepaths, getpath