Date: Tue, 29 Jan 2008 06:17:28 -0800
Reply-To: jeli0703@HOTMAIL.CO.UK
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: jeli0703@HOTMAIL.CO.UK
Organization: http://groups.google.com
Subject: Re: list all folders
Content-Type: text/plain; charset=ISO-8859-1
> filename ft55f001 pipe 'dir /ad ".\"';
> data _null_;
> infile ft55f001;
> input;
> list;
> run;
this works to a certain degree, what i need to do is put it in to a
dataset, but the problem when i encorporate it as below my field
filename does not brin it all back, it only brings up to the first
space ie 2007 the title will return 2007.
if i use a delimiter is messes it all up as there is no one delimeter.
am struggleing and it is onley tuesday!!
filename ft55f001 pipe 'dir /ad "G:\dir\2007\Q4 2007\dirdir"';
data testtt;
missing;
infile ft55f001 firstobs=7 lrecl=3000 ;
length Modified $10. time $10. type $10. filename $80.;
input Modified $ time $ type $ filename $;
/*list;*/
/*output; */
run;