|
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
|