Rename a file: Difference between revisions
Content added Content deleted
m (→{{header|Openedge/Progress}}: Fixed language name) |
|||
Line 335: | Line 335: | ||
=={{header|Harbour}}== |
=={{header|Harbour}}== |
||
<lang |
<lang visualfoxpro>FRename( "input.txt","output.txt") |
||
or |
// or |
||
RENAME input.txt TO output.txt |
RENAME input.txt TO output.txt |
||
FRename(" |
FRename( hb_ps() + "input.txt", hb_ps() + "output.txt") |
||
or |
|||
RENAME \input.txt TO \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. |