FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour GETCURDIR() FUNC IS NOT WORKING ON D DRVIE
Posts: 336
Joined: Mon Dec 07, 2009 02:49 PM
GETCURDIR() FUNC IS NOT WORKING ON D DRVIE
Posted: Tue Dec 31, 2019 07:46 AM
Dear All ,

The GETCURDIR() function is NOT working on D: Drive but is working C: perfectly.

I have tried below two option both are NOT working on D: Drive.

Could you please help me for the same. Thanks in advance...!

Opt A
Code (fw): Select all Collapse
   cAppDir := GETCURDIR()


Opt B
Code (fw): Select all Collapse
  cAppDir := CurDrive() + ":\" + CurDirX()
Thanks

Shridhar

FWH 24.04, BCC 7 32 bit, MariaDB
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: GETCURDIR() FUNC IS NOT WORKING ON D DRVIE
Posted: Tue Dec 31, 2019 10:02 AM
Folder containing the Exe file. This may or may not be the current directory
Code (fw): Select all Collapse
? cFilePath( ExeName() )


Current drive and directory:
Code (fw): Select all Collapse
? TrueName( ".\" )
Regards



G. N. Rao.

Hyderabad, India
Posts: 336
Joined: Mon Dec 07, 2009 02:49 PM
Re: GETCURDIR() FUNC IS NOT WORKING ON D DRVIE
Posted: Tue Dec 31, 2019 11:52 AM

Dear Rao Sir ,

Thanks a lot...! Now Its working...!

Thanks

Shridhar

FWH 24.04, BCC 7 32 bit, MariaDB

Continue the discussion