Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!cs.uiuc.edu!ibma0.cs.uiuc.edu!ibma0.cs.uiuc.edu!cs348cw From: cs348cw@ibma0.cs.uiuc.edu (nesha nicole jones) Newsgroups: comp.lang.c Subject: Directories in C Summary: making a directory Keywords: dirs.h Message-ID: <27B73B0C.3549@ibma0.cs.uiuc.edu> Date: 12 Feb 91 00:47:08 GMT Sender: @ibma0.cs.uiuc.edu Organization: University of Illinois at Urbana-Champaign Lines: 12 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