LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2008, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: sas-l@uga.edu
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;


Back to: Top of message | Previous page | Main SAS-L page