Date: Fri, 27 Apr 2001 14:10:21 -0400
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Organization: Dartmouth College, Hanover, NH, USA
Subject: Re: Deleting a file in SAS
>>>>> "Stephane" == Stephane Racine <email@example.com> writes:
Stephane> QUESTION : Is there a way to not have any command
Stephane> window that open to delete a text file?
I've never seen a way to run a basic system command under NT from SAS
without a window. It is possible to write these programs under
Win32 (e.g. think of how you have to specifically make Excel visible
if you are connecting to it via OLE), but you need more control than
you can get from a simple X command under SAS.
Can you consolidate your multiple commands to delete single files
into a single command to delete multiple files? That would still
open one window -- but not dozens. Both NT and Unix have 'for'
commands that can act on groups of file -- or just use a wildcard in
your delete statment, e.g. del temp?.txt
Hope this helps,