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 (October 1996, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 22 Oct 1996 08:38:00 -0400
Reply-To:   Dave_Mabey_at_RDA8POSTOFFICE1%RDCCMAIL%READERSDIGEST@RMAIL.COM
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Dave_Mabey_at_RDA8POSTOFFICE1%RDCCMAIL%READERSDIGEST@RMAIL.COM
Subject:   Re: Simple way to get filenames off NT directory ?
Comments:   To: rasanen@SPRYNET.COM

New Text Item: Simple way to get filenames off NT directory ?

The following works on OS/2, and I think it works with all flavors of MS/Windows.

FILENAME DIR PIPE 'DIR path /B';

You can then use DIR in any SAS application that does not require random access. For example, it can be used in a DATAstep or INCluded, but it can not be viewed with FSLIST.

______________________________ Reply Separator _________________________________ Subject: Simple way to get filenames off NT directory ? Author: rasanen@SPRYNET.COM@INTERNET at RDNOTES Date: 10/21/96 5:11 PM

(Embedded image moved to file: PIC001.PCX) Hi all,

I have a directory on one of my NT 4 servers that looks like z:\inetsrv\wwwroot\rob\intransit to my local machine, and I wondered if there is a simple way (macro?) to get a list of all files currently in the directory so that a data step can include all the files?

-- rasanen@sprynet.com http://home.sprynet.com/sprynet/rasanen/ SMTPOriginator: owner-sas-l@VM.MARIST.EDU


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