That's because hbct seems to miss this ct function, but xhb has it.
Hopefully someone will copy these to Harbour, until then you can do
it locally.
When I was updating HBCT functions in Harbour I intentionally didn't
copy diskutil.prg from xHarbour.
It's the only one file which still exist in my harbour/contrib/hbct/
TODO/
directory. Unfortunately all functions inside have to be implemented
from scratch.
I only implemented RENAMEFILE() as synonym of FILEMOVE() in
harbour/contrib/hbct/files.c.
If someone needs it and accept xHarbour implementation then as
temporary
solution he can simply link with his code source/ct/diskutil.prg from
xHarbour CVS but it will be very nice if he can implement it correctly
though it's not trivial job.
I took a quick look in the afternoon and found the whole file not really
suited for Harbour. It has a whole range of 'no-no's starting from using
'format' as external command to small things like formatting and general
coding style (like not using DEFAULT TO but some unique replacement
instead). Such code usually has a multitude of other problems.
So I'd vote to include only what's absolutely necessary, and/or done
right
(or ported right).
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour