My take on it is the verb pathcreate in the general/dirutils addon. http://www.jsoftware.com/jwiki/Addons/general/dirutils
If there are better solutions I'd be keen to see them made generally available. > From: Matthew Brand > > By the way, it is probably a good example of the kind of pickle a > non-expert user of J can get themselves into when trying to do simple > things. I bet that somebody here could write it in about 10 > characters! > > 2009/11/24 Matthew Brand <[email protected]>: > > I have a function called createPathTree_utils_ which creates a whole > > path no matter how deep it is but does not complain if anything > > already exists along the way. It is probably not the best way to do > > it, but it works for me. I find it useful, but maybe there is already > > something like this somewhere in one of the many addons/libraries > > which I have not come across yet? > > > > example: > > createPathTree_utils_ '/tmp/dir1/dir2/' ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
