LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (August 2002, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 28 Aug 2002 18:09:34 +1200
Reply-To:   Robin.Templer@xtra.co.nz
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
Comments:   To: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
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.

Robin


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