Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11896 > unrolled thread
| Started by | David Annetts <david.annetts@iinet.net.au> |
|---|---|
| First post | 2012-09-28 03:08 +0000 |
| Last post | 2012-09-28 03:08 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Import multiple files with same extension from a folder David Annetts <david.annetts@iinet.net.au> - 2012-09-28 03:08 +0000
| From | David Annetts <david.annetts@iinet.net.au> |
|---|---|
| Date | 2012-09-28 03:08 +0000 |
| Subject | Re: Import multiple files with same extension from a folder |
| Message-ID | <k434c4$ne0$1@smc.vnet.net> |
Hi Dominik, SetDirectory["data/file/directory"]; ifiles = Filenames["*.exp"]; idata = Import[#, "Filetype"]& /@ ifiles; will import all the .exp files in a particular directory. Depending on the content of these files, you'll need to modify "Filetype". Some suggestions are "Text" or "Matrix". Regards, Dave. On 27/09/2012 15:04, Dominik Hezel wrote: > Hello, > > I have a folder with different files, e.g. > > test1.exp > test2.exp > test1.log > test2.log > ... > > The number of files and actual file names is unknown. I would like to import all files ending with .exp. How do I do this rather simple task? > > Thanks for any help. >
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web