Re: list of file names
- To: mathgroup at smc.vnet.net
- Subject: [mg44869] Re: [mg44840] list of file names
- From: Ken Levasseur <klevasseur at mac.com>
- Date: Thu, 4 Dec 2003 03:04:33 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Ken:
This works on my Mac. I'm not certain about all platforms having the ":"
that precedes files names but it would be easy to adjust.
Select[FileNames[], MatchQ[Characters[#1],
{Sequence @@ Characters[":root"], x_, y_, z_,
Sequence @@ Characters[".html"]} /;
DigitQ[StringJoin[x, y, z]]] & ]
Ken Levasseur
Math. Sci.
UMass Lowell
> From: "Flurchick, Kenneth M" <FLURCHICKK at MAIL.ECU.EDU>
To: mathgroup at smc.vnet.net
> Date: Wed, 03 Dec 2003 04:24:30 -0500 (EST)
> To: mathgroup at smc.vnet.net
> Subject: [mg44869] [mg44840] list of file names
>
> GentleBeings
> I want to create a list of file names
> rootXXX.dat
> where XXX is an integer fixed width
> Don't quite see how
> kenf
>