Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Get the Directory the AEP is in?

6 posts in AEP Last posting was on 2010-10-26 21:32:36.0Z
Ian Branch Posted on 2010-10-22 08:03:48.0Z
From: "Ian Branch" <branch@celestial.com.au>
Subject: Get the Directory the AEP is in?
Newsgroups: Advantage.AEP
User-Agent: XanaNews/1.19.1.289
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 118.209.108.14
Message-ID: <4cc13754@solutions.advantagedatabase.com>
Date: 22 Oct 2010 01:03:48 -0700
X-Trace: 22 Oct 2010 01:03:48 -0700, 118.209.108.14
Lines: 10
Path: solutions.advantagedatabase.com!118.209.108.14
Xref: solutions.advantagedatabase.com Advantage.AEP:805
Article PK: 1104087

Hi Guys,

From within an AEP, how do I retrieve the drive/directory the AEP is
in please?

I want to take some action in that drive/directory from the AEP.

Regards & TIA,

Ian


Ian Branch Posted on 2010-10-22 08:26:57.0Z
From: "Ian Branch" <branch@celestial.com.au>
Subject: Re: Get the Directory the AEP is in?
Newsgroups: Advantage.AEP
References: <4cc13754@solutions.advantagedatabase.com>
User-Agent: XanaNews/1.19.1.289
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 118.209.108.14
Message-ID: <4cc13cc1@solutions.advantagedatabase.com>
Date: 22 Oct 2010 01:26:57 -0700
X-Trace: 22 Oct 2010 01:26:57 -0700, 118.209.108.14
Lines: 11
Path: solutions.advantagedatabase.com!118.209.108.14
Xref: solutions.advantagedatabase.com Advantage.AEP:806
Article PK: 1104088

OK. Found GetCurrentDir works OK. Didn't the first time I tried it.

Seems although the AEP is installed in say 'e:\Data', GetCurrentDir
returns 'c:\Windows\System32'.


How can I get 'e:\data' from inside the AEP please?

Again, Regards & TIA,

Ian