Jump to content

Rename a file: Difference between revisions

no edit summary
(Added Arturo implementation)
No edit summary
Line 1,032:
shutil.move("/input.txt", "/output.txt")
shutil.move("/docs", "/mydocs")</lang>
 
=={{header|QB64}}==
<lang qbasic>NAME "input.txt" AS "output.txt"
NAME "\input.txt" AS "\output.txt"
NAME "docs" AS "mydocs"
NAME "\docs" AS "\mydocs"</lang>
 
=={{header|R}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.