Directories in C

nesha nicole jones cs348cw at ibma0.cs.uiuc.edu
Tue Feb 12 11:47:08 AEST 1991


I was wondering if any one knew if you could read in a variable in C 
and check to see if it is a directory.  If if is I would like to make it a 
directory.  I know how to check to see if something is a file, however,
I could not find anything specifically related to directories.  I know
how to make a directory using shell. but I can't seem to pass the variable
I read using scanf to the system( mkdir ___) command.


Advise would be appreciated.


Nesha 



More information about the Comp.lang.c mailing list