Rename a file: Difference between revisions

Content added Content deleted
m (Update Lang example: Fix spelling of Lang)
m (→‎{{header|Wren}}: Minor tidy)
Line 1,572: Line 1,572:
{{libheader|Wren-ioutil}}
{{libheader|Wren-ioutil}}
Wren-cli does not currently have the ability to rename directories, just files.
Wren-cli does not currently have the ability to rename directories, just files.
<syntaxhighlight lang="ecmascript">import "/ioutil" for FileUtil
<syntaxhighlight lang="wren">import "./ioutil" for FileUtil


FileUtil.move("input.txt", "output.txt")
FileUtil.move("input.txt", "output.txt")