Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Use of names

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99921] Re: Use of names
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Tue, 19 May 2009 06:46:23 -0400 (EDT)
  • References: <gurcm1$gt8$1@smc.vnet.net>

Alain Mazure wrote:
>   Hi
> 
>    I would like to import files from   directories (e.g .png files)
> 
> The names are not always the same but the extension is.
> 
> 
> I could find them by the command:
> 
> FileNames["*.png"]
> 
> 
> which gives  their names, but how could I import all of them since the =
> 
> command :
> 
> Import["TEMPO_*.png"]
> 
> does not work in Mathematica
> 

You have all the file names, now import them one by one:

Import /@ FileNames["*.png"]


  • Prev by Date: Re: Wolfram|Alpha Lookup Tool for Mathematica
  • Next by Date: Customise a Mathematica 7.0 Palette for braces and square brackets
  • Previous by thread: Use of names
  • Next by thread: Re: Use of names