Hi,
This function is in filename.prg in \fwh\source\function directory.
I used this function in my application. file path I noticed it was in uppercase. This creates problems with the Turkish characters I use. Is there a purpose in using the upper function? (Note. When I remove the Upper function, the problem disappears)
How can I replace the cFilePath function with my own function? I don't want to change this function in the entire application.
Thanks.
This function is in filename.prg in \fwh\source\function directory.
function cFilePath( cPathMask ) Â // returns path of a filename
  local lUNC := "/" $ cPathMask
  local cSep := If( lUNC, "/", "\" )
  local n := RAt( cSep, cPathMask ), cDisk
return If( n > 0, Upper( Left( cPathMask, n ) ),;
      ( cDisk := cFileDisc( cPathMask ) ) + If( ! Empty( cDisk ), cSep, "" ) )How can I replace the cFilePath function with my own function? I don't want to change this function in the entire application.
Thanks.
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.06
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.06