GETCURDIR() FUNC IS NOT WORKING ON D DRVIE

Post Reply
shri_fwh
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

GETCURDIR() FUNC IS NOT WORKING ON D DRVIE

Post by shri_fwh »

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: Select all


   cAppDir := GETCURDIR()
 
Opt B

Code: Select all


  cAppDir := CurDrive() + ":\" + CurDirX()

Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: GETCURDIR() FUNC IS NOT WORKING ON D DRVIE

Post by nageswaragunupudi »

Folder containing the Exe file. This may or may not be the current directory

Code: Select all

? cFilePath( ExeName() )
 
Current drive and directory:

Code: Select all

? TrueName( ".\" )
Regards

G. N. Rao.
Hyderabad, India
shri_fwh
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: GETCURDIR() FUNC IS NOT WORKING ON D DRVIE

Post by shri_fwh »

Dear Rao Sir ,

Thanks a lot...! Now Its working...!
Thanks
Shridhar
FWH 19.12, BCC 7 32 bit, MariaDB
Post Reply