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.

How do we get the current Executable path

2 posts in General Discussion (Chinese) Last posting was on 2008-06-12 09:41:35.0Z
Ranjith Lakshman Posted on 2008-06-10 20:46:42.0Z
Sender: 4a29.484ee701.1804289383@sybase.com
From: Ranjith Lakshman
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: How do we get the current Executable path
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <484ee832.4a5d.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 10 Jun 2008 13:46:42 -0700
X-Trace: forums-1-dub 1213130802 10.22.241.41 (10 Jun 2008 13:46:42 -0700)
X-Original-Trace: 10 Jun 2008 13:46:42 -0700, 10.22.241.41
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:369
Article PK: 104396

I am searching for the way to get the executabe path . This
is to display the executable location in About screen as we
use development,test and production environment. Any help
will be appreciated.

Thanks in advance.
Ranjith


xiny Posted on 2008-06-12 09:41:35.0Z
Sender: 1868.4850edde.1804289383@sybase.com
From: xiny
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Re: How do we get the current Executable path
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4850ef4f.188e.1681692777@sybase.com>
References: <484ee832.4a5d.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 12 Jun 2008 02:41:35 -0700
X-Trace: forums-1-dub 1213263695 10.22.241.41 (12 Jun 2008 02:41:35 -0700)
X-Original-Trace: 12 Jun 2008 02:41:35 -0700, 10.22.241.41
Lines: 9
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:370
Article PK: 104393

You can try the powerstript function: GetCurrentDirectory().

> I am searching for the way to get the executabe path .
> This is to display the executable location in About screen
> as we use development,test and production environment. Any
> help will be appreciated.
>
> Thanks in advance.
> Ranjith