🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.databases.ms-access
Article #213

Re: print working directory

#213
From: Ini
Date: Mon, 01 Dec 2003 15:00
30 lines
2275 bytes
thanks for the help!

"Allen Browne" <AllenBrowne@SeeSig.Invalid> wrote in message
news:3fcb46a1$0$1746$5a62ac22@freenews.iinet.net.au...
> 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: <bqfl3p$knf$1@news4.tilbu1.nb.home.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!newsfeed.stueberl.de!ecngs!feeder.ecngs.de!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!news2.euro.net!newshub1.home.nl!home.nl!not-for-mail
References: <bqffij$3ra$1@news2.tilbu1.nb.home.nl> <3fcb46a1$0$1746$5a62ac22@freenews.iinet.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff0ac,e51c6281e707f6d9
X-Google-Attributes: gidff0ac,public
X-Google-Thread: 11387c,e51c6281e707f6d9
X-Google-Attributes: gid11387c,public
X-Google-Thread: 102b1d,e51c6281e707f6d9
X-Google-Attributes: gid102b1d,public
X-Google-ArrivalTime: 2003-12-01 07:01:14 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!newsfeed.stueberl.de!ecngs!feeder.ecngs.de!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!news2.euro.net!newshub1.home.nl!home.nl!not-for-mail
From: "Ini" <ini@ini.myweb.nl>
Newsgroups: comp.databases.ms-access,de.comp.datenbanken.ms-access,dk.edb.database.ms-access
Subject: Re: print working directory
Date: Mon, 1 Dec 2003 16:00:50 +0100
Organization: @Home Benelux
Lines: 32
Message-ID: <bqfl3p$knf$1@news4.tilbu1.nb.home.nl>
References: <bqffij$3ra$1@news2.tilbu1.nb.home.nl> <3fcb46a1$0$1746$5a62ac22@freenews.iinet.net.au>
NNTP-Posting-Host: cc91542-a.hnglo1.ov.home.nl
X-Trace: news4.tilbu1.nb.home.nl 1070290873 21231 212.120.101.44 (1 Dec 2003 15:01:13 GMT)
X-Complaints-To: abuse@home.nl
NNTP-Posting-Date: Mon, 1 Dec 2003 15:01:13 +0000 (UTC)
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