| Date: | Sat, 27 Sep 2008 12:33:41 -0700 |
| Reply-To: | "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET> |
| Organization: | http://groups.google.com |
| Subject: | Re: Macro to delete all files in a folder |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
On Sep 26, 5:46 pm, "Rune Runnestø" <r...@fastlane.no> wrote:
> Helen's solution deletes the files in the folder, yes - but - it leaves the
> command windows open (C:\\WINDOWS\system32\cmd.exe). You have to manually
> write EXIT in the command promp to make it disappear, and that is cumbersome
> in my opinion.
>
> If no further solutions of working code is proposed, this leaves my solution
> the best one. My assumption that this 'all the nonsense' as Richard called
> it - is in fact just as little triviell as I suspected, seems to become
> true.
options xsync xmin noxwait;
%sysexec del /f/q "&path.";
--
Richard A. DeVenezia
|