Hi Pritpal,

> Hello All
> 
> Is this the correct way to build fully qualified path given a file in
> current folder, for *nixes ?
> On Windows it works perfect.
> 
> hb_curDrive() + hb_osDriveSeparator() + hb_osPathSeparator() + CurDir() +
> hb_osPathSeparator() + cMyFile.ext

I'm not sure why you need it, but the best (and only portable!) 
way to refer to file in current drive/dir, is just to not use any 
absolute path at all, IOW:
   cMyFile.ext

Any other solution has problems.

Brgds,
Viktor

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

Reply via email to