Rename a file: Difference between revisions
Content added Content deleted
m (Fixed lang tags.) |
(pike) |
||
Line 280: | Line 280: | ||
?></lang> |
?></lang> |
||
=={{header| |
=={{header|Pike}}== |
||
<lang pike>int main(){ |
|||
mv("input.txt", "output.txt"); |
|||
mv("/input.txt", "/output.txt"); |
|||
mv("docs", "mydocs"); |
|||
mv("/docs", "/mydocs"); |
|||
}</lang> |
|||
=={{header|Pop11}}== |
|||
<lang pop11>sys_file_move('inputs.txt', 'output.txt'); |
<lang pop11>sys_file_move('inputs.txt', 'output.txt'); |
||
sys_file_move('docs', 'mydocs'); |
sys_file_move('docs', 'mydocs'); |