Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!linac!midway!mimsy!umiacs.umd.edu!curtiss From: curtiss@umiacs.umd.edu (Phil J. Curtiss) Newsgroups: comp.mail.mh Subject: Creating all subfolders in a folder path Keywords: folder, folders Message-ID: <28821@mimsy.umd.edu> Date: 30 Dec 90 19:11:40 GMT Sender: news@mimsy.umd.edu Reply-To: curtiss@umiacs.umd.edu (Phil J. Curtiss) Distribution: na Organization: University of Maryland Institute for Advanced Computer Studies Lines: 33 I am looking for a way (possibly an option to the folder command) to create all subfolders in a folder path that I might specify to a reasonable mh command. For example, Suppose the folder +cm/users exists and I issue the command, folder +cm/users/sam/paris/lightspeed the folder command will fail with the messages, Create folder "/truffula/curtiss/Mail/cm/users/sam/paris/lightspeed"? y folder: unable to create directory /truffula/curtiss/Mail/cm/users \ /sam/paris/lightspeed: No such file or directory folder: unable to create folder /truffula/curtiss/Mail/cm/users/sam \ /paris/lightspeed I would like for there to be some option to the folder command or some item I could place in my .mh_profile that would allow the creation of all subfolders in a folder path. Currently I use mkdirhier to accomplish this in some scripts which is a pain. My mh system is: version: MH 6.6 #6[UCI] (gyre.umd.edu) of Wed Mar 22 14:44:50 EST 1989 options: [BSD42] [BSD43] [BERK] [DUMB] [MHE] [NETWORK] [BIND] [RPATH] [SBACKUP='"#"'] [SENDMTS] [SMTP] Thanks for any help. -- Domain: curtiss@umiacs.umd.edu Phillip Curtiss UUCP: uunet!mimsy!curtiss UMIACS - Univ. of Maryland Phone: +1-301-405-6744 College Park, Md 20742