Batch Import of text files

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Batch Import of text files

Shorful Islam
Hi

I have over 200 text files which I need to import into SPSS

Is it possible to write some syntax which will batch import all the files

Just to let you know that the files are labbelled
2006090101.txt
 2006090102.txt
 2006090103.txt

etc - representing YYYYMMDDHH

regards

Shorful
Reply | Threaded
Open this post in threaded view
|

Re: Batch Import of text files

Roberts, Michael
If you have SPSS 14 and feel like writing a short program, you can work
wonders with those 200 files by using the Python plug-in.

Mike




-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Shorful Islam
Sent: Friday, September 22, 2006 12:17 PM
To: [hidden email]
Subject: Batch Import of text files

Hi

I have over 200 text files which I need to import into SPSS

Is it possible to write some syntax which will batch import all the
files

Just to let you know that the files are labbelled 2006090101.txt
2006090102.txt  2006090103.txt

etc - representing YYYYMMDDHH

regards

Shorful