MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to find all folder within a specified directory?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73144] Re: How to find all folder within a specified directory?
  • From: "zac" <replicatorzed at gmail.com>
  • Date: Sun, 4 Feb 2007 08:01:29 -0500 (EST)
  • References: <eq1ij9$2v2$1@smc.vnet.net>

Hi,

I'm using  this function:

DirectoryNames[path_String] := Select[FileNames["*", {path}],
FileType[#] === Directory &];

I'm curious whether there is a simpler way.

Istvan Zachar



  • Prev by Date: make InputForm output cells have the same multi-click expression selection behavior as InputForm input
  • Next by Date: Re: NIntegrate - problems with HoldAll property(?)
  • Previous by thread: Re: How to find all folder within a specified directory?
  • Next by thread: Conversion back to excel date format