Re: Deleting directory on Windows.

Harring Figueiredo <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
 I am trying not to use system.. but I guess I will have to resort to that.

 I could use  remove("path");  but it seems that it uses libc4/5 and it has a
bug.

 Thanks for the help.

 What woule be the diference between deldir and deltree ?

 Thanks.

Harring.
--- Chris Nystrom <[email protected]> wrote:
> On Thu, 10 Oct 2002, harringf wrote:
> 
> >  Is there an easy way to delete directories ( with files ) from within
> > a program.
> 
> Off the top of my head, how about something like:
> 
> #ifdef WIN32
>   system("deldir <dirname>"); 
> #endif
> 
> Chris
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.