|Date: ||Wed, 28 Aug 2002 18:09:34 +1200|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Robin & Charmaine Templer <Robin.Templer@XTRA.CO.NZ>|
|Organization: ||TRAC Consulting Ltd|
|Subject: ||WinAPI module to delete files|
|Content-Type: ||text/plain; charset=us-ascii; format=flowed|
I have a need for the modulen call to delete a series of files.
Operating System: WinNt 4 Sp6
SAS version 8.2
I know I could use the call system('delete *.txt') with the noxwait
option in effect, but have been asked for a more tidy solution. The
ultimate objective is to remove directories (for which I have the api
syntax) but I cannot do that untile the directory is empty.
Any clues much appreciated.