no offense, but using that method you won't know if all the files were
really removed.

> -----Original Message-----
> From: Janek Schleicher [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 15, 2002 8:01 AM
> To: [EMAIL PROTECTED]
> Subject: Re: deleting files
> 
> 
> Michael Pastore wrote at Mon, 15 Jul 2002 14:48:12 +0200:
> 
> > I am trying to delete some files in a directory, but I do 
> not know their names...just ending
> > extension...
> > 
> > I have tried:
> > One way:
> > 
> > unlink <*.dat>;
> > unlink <*.p1>;
> > 
> > Another way:
> > 
> > unlink glob(".dat");
> > unlink glob(".p1");
> > 
> 
> You got it nearly:
> 
> unlink for <*.dat>;
> 
> or
> 
> unlink for glob("*.dat");
> 
> 
> Greetings,
> Janek
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to