> Analyze this scenario:
> 
> I know the location of my project, say
> 
> C:\dev_projects\
> 
> Some souce is selected with fileopen dialog and it is 
> 
> C:\dev_projects\vouch\source\vouch.prg
> 
> Now I want to retieve the relative path of this source with 
> 
> cRelative := hb_pathProc( "C:\dev_projects\vouch\source\vouch.prg",
> "C:\dev_projects\" )
> 
> Can this function be extended to honor such scenario.
> If yes, then coupled with -workdir= , everything can be fine tuned.

No, this function was created for a completely different task, 
it's not a matter of extension.

For above task you'll need the exact opposite of this function, 
ie. to retrieve the relative path from an absolute one, given 
a base/reference dir.

I don't have such function at hand.

Brgds,
Viktor

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

Reply via email to