Error - template LAYOUT-DATA-WRAPPER not found

A configuration error was detected in the CGI script; the LAYOUT-DATA-WRAPPER template could not be found.

Error - template STYLE-SHEET not found

A configuration error was detected in the CGI script; the STYLE-SHEET template could not be found.

Error - template SUB-TOP-BANNER not found

A configuration error was detected in the CGI script; the SUB-TOP-BANNER template could not be found.
Subject:
From:
At Neethling <[log in to unmask]>
Reply To:
PCSOFT - Personal Computer software discussion list <[log in to unmask]>
Date:
Mon, 14 Jan 2002 09:35:41 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
On 10 Jan 2002, at 19:46, Stephen Lo wrote:

> I use the following lines in a batch file to delete all files in a
> folder:
>
> @echo off
> Echo Y| del c:\temp\*.* > Nul
>
> IF folder 'temp' is empty a line "file not found" returns. How
> could I eliminate this feedback?
>
> THank you!!
>
> SLo

All the answers given so far will work, but, IMHO, a far neater solution is
as follows:

@echo off
cd c:\temp
for %%l in (*.*) del %%l > nul

In this way, if there are no files in the directory, nothing will be done.

At Neethling
Cape Town

Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be those of Sanlam, to
whom no liability shall attach whatsoever.

             PCSOFT maintains many useful files for download
                     visit our download web page at:
                  http://freepctech.com/downloads.shtml

ATOM RSS1 RSS2

LISTSERV.ICORS.ORG Secured by F-Secure Anti-Virus CataList Email List Search Powered by LISTSERV