Article View: borland.public.delphi.nativeapi
Article #12089Re: RemoveDir problem
From: Kent Briggs
Date: Mon, 25 Nov 2002 15:29
Date: Mon, 25 Nov 2002 15:29
15 lines
1522 bytes
1522 bytes
Nik wrote: > ChDir(Application.ExeName); > RemoveDir(ExtractFilePath(Application.ExeName) + 'Temp'); > > but i don't know why the specified directory won't be deleted! Your ChDir command is failing because Application.ExeName is not a directory. So I suspect that Temp is still the current directory when you execute the RemoveDir command and that's why it's failing (assuming Temp is completely empty to begin with). -- Kent Briggs, kbriggs@spamcop.net Briggs Softworks, http://www.briggsoft.com
Technical Details
Message-ID:
<3de241c7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mailReferences:
<3de20ad9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94dd,cece786f25c52b92 X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2002-11-25 08:18:01 PST Date: Mon, 25 Nov 2002 09:29:51 -0600 From: Kent Briggs <kbriggs@spamcop.net> Organization: Briggs Softworks User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.delphi.nativeapi Subject: Re: RemoveDir problem References: <3de20ad9$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 66.69.176.175 Message-ID: <3de241c7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038238151 66.69.176.175 (25 Nov 2002 07:29:11 -0800) Lines: 16 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail