Try the comp.lang.c newsgroup for C questions. For creating directories, try #include <sys/stat.h> int mkdir(const char *path, mode_t mode); For removing directories, #include <unistd.h> int rmdir(const char *path); Also see man 3 ... opendir closedir telldir seekdir all of which use dirent.h
Also: #include <unistd.h> int chdir(const char *path); /* to change to a directory */ char *getcwd(char* buffer, size_t size); /* to get current dir */ hth Rich also look at man 3 opendir richard wrote: > > I know this is the wrong place to ask, so I've got two questions now. What is > a good unix/C > newsgroup? I think I'm gonna need some help. Now my real question. > > I've got a perl script that checks the permissions and creates directories. > Now I want to rewrite > the script in C. I know nothing about checking permissions nor creating > directories with C. I > don't even know if it's possible, so if someone does know how to do this or a > place that might > describe the proceedure I would appreciate the assistance. > > thanks > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null