Rename a file: Difference between revisions

Content added Content deleted
(added c#)
(add E example)
Line 93: Line 93:
ren docs mydocs
ren docs mydocs
ren \docs mydocs
ren \docs mydocs

=={{header|E}}==

<lang e>for where in [<file:.>, <file:///>] {
where["input.txt"].renameTo(where["output.txt"], null)
where["docs"].renameTo(where["mydocs"], null)
}</lang>


=={{header|Forth}}==
=={{header|Forth}}==