Article View: be.comp.programming
Article #5889Re: bestaat de map+vb
From: KLinZ
Date: Mon, 24 Feb 2003 18:36
Date: Mon, 24 Feb 2003 18:36
14 lines
1424 bytes
1424 bytes
Red Head wrote:
> Hoe kan ik testen of een map al bestaat
> en als hij nog niet bestaat doe ik mkDir("c:\dw24")
if not (GetAttr("c:\dw24") And vbDirectory) then
MkDir("c:\dw24")
end if
Je moet nog een extra FileExists() toevoegen als je uit wilt sluiten dat er
een bestand met de naam 'dw24' bestaat.
--
www.zenobits.com
Technical Details
Message-ID:
<qEt6a.419827$481.35542@amstwist00>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!surfnet.nl!newsfeed.wxs.nl!amsnews01.chello.com!amstwist00.POSTED!not-for-mailReferences:
<3e590b8a$0$83863$ba620e4c@news.skynet.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,b3ce38e8653f93ae X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-02-24 10:40:02 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!surfnet.nl!newsfeed.wxs.nl!amsnews01.chello.com!amstwist00.POSTED!not-for-mail From: "KLinZ" <klinz@NOSPAMzenobitsSPAMNO.com> Newsgroups: be.comp.programming References: <3e590b8a$0$83863$ba620e4c@news.skynet.be> Subject: Re: bestaat de map+vb Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <qEt6a.419827$481.35542@amstwist00> Date: Mon, 24 Feb 2003 19:36:15 +0100 NNTP-Posting-Host: 212.187.71.152 X-Complaints-To: abuse@chello.nl X-Trace: amstwist00 1046111894 212.187.71.152 (Mon, 24 Feb 2003 19:38:14 MET) NNTP-Posting-Date: Mon, 24 Feb 2003 19:38:14 MET