Jump to content

Rename a file: Difference between revisions

→‎{{header|D}}: add implementation
m (omit TI-BASIC)
(→‎{{header|D}}: add implementation)
Line 107:
(rename-file "/input.txt" "/output.txt")
(rename-file "/docs" "/mydocs")</lang>
 
=={{header|D}}==
<lang d>
std.file.rename("input.txt","output.txt");
std.file.rename("/input.txt","/output.txt");
std.file.rename("docs","mydocs");
std.file.rename("/docs","/mydocs");
</lang>
 
=={{header|DOS Batch File}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.