Article View: comp.databases.ms-access
Article #211Re: print working directory
From: Allen Browne
Date: Mon, 01 Dec 2003 13:49
Date: Mon, 01 Dec 2003 13:49
24 lines
1765 bytes
1765 bytes
The current directory (as far as Windows is concerned), is:
CurDir
The path of the executing database can be parsed from:
dbEngine(0)(0).Name
or
CodeProject.FullName
Use InstrRev() to find the last backslash.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Ini" <ini@ini.myweb.nl> wrote in message
news:bqffij$3ra$1@news2.tilbu1.nb.home.nl...
>
> Is it possible in Access97 to display in a msgbox the name of the
directory
> I'm working in at that moment?
>
> It's like the pwd-command in UNIX-shells.
> pwd = print working directory
Technical Details
Message-ID:
<3fcb46a1$0$1746$5a62ac22@freenews.iinet.net.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!freenews.iinet.net.au!not-for-mailReferences:
<bqffij$3ra$1@news2.tilbu1.nb.home.nl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11387c,e51c6281e707f6d9 X-Google-Attributes: gid11387c,public X-Google-Thread: ff0ac,e51c6281e707f6d9 X-Google-Attributes: gidff0ac,public X-Google-Thread: 102b1d,e51c6281e707f6d9 X-Google-Attributes: gid102b1d,public X-Google-ArrivalTime: 2003-12-01 05:50:19 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!freenews.iinet.net.au!not-for-mail From: "Allen Browne" <AllenBrowne@SeeSig.Invalid> Newsgroups: comp.databases.ms-access,de.comp.datenbanken.ms-access,dk.edb.database.ms-access References: <bqffij$3ra$1@news2.tilbu1.nb.home.nl> Subject: Re: print working directory Date: Mon, 1 Dec 2003 21:49:44 +0800 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Lines: 26 Message-ID: <3fcb46a1$0$1746$5a62ac22@freenews.iinet.net.au> NNTP-Posting-Host: 203.59.121.6 X-Trace: 1070286498 freenews.iinet.net.au 1746 203.59.121.6