Try this one:

FUNCTION hb_pwd()
   RETURN CurDrive() + hb_osDriveSeparator() + hb_osPathSeparator() + CurDir()

Brgds,
Viktor

On 2010 Feb 4, at 00:05, smu johnson wrote:

> Is there a way an HB_CURDIR or HB_CWD could be implemented, to always return 
> the same val, based on it's own system lib thingies?
> 
> 
> On Wed, Feb 3, 2010 at 3:04 PM, Viktor Szakáts <harbour...@syenar.hu> wrote:
> > Viktor,
> >
> > http://209.97.219.2/sjohnson/misc/curdir-diff.png
> >
> > Please let me know if you need anything else.
> 
> My only guess is that CURDIR() is overridden by
> some libs. Sorry, but I can't replicate it here
> and can't recall seeing such behavior even on W2K
> either.
> 
> Brgds,
> Viktor
> 
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> 
> 
> -- 
> smu johnson <smujohn...@gmail.com>
> 
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to