Rename a file: Difference between revisions

Content added Content deleted
m (→‎{{header|Openedge/Progress}}: Fixed language name)
Line 335:
=={{header|Harbour}}==
 
<lang harbourvisualfoxpro>FRename( "input.txt","output.txt")
// or
RENAME input.txt TO output.txt
 
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.