Rename a file: Difference between revisions

Content deleted Content added
Line 339: Line 339:
RENAME input.txt TO output.txt
RENAME input.txt TO output.txt


FRename( hb_ps() + "input.txt", hb_ps() + "output.txt")
FRename( hb_ps() + "input.txt", hb_ps() + "output.txt")</lang>


Harbour has no it's own functions to rename a directory, it is possible, though, to write appropriate code in '''C''' and link it to Harbour application, using the Harbour's Extend system.
Harbour has no it's own functions to rename a directory, it is possible, though, to write appropriate code in '''C''' and link it to Harbour application, using the Harbour's Extend system.