Rename a file: Difference between revisions

m
(Added Elixir)
Line 733:
system("mv /docs /mydocs");</lang>
PARI, as usual, has access to all the standard [[#C|C]] methods.
 
Alternatively it's possible to bind rename() system call to a new function:
<lang parigp>install("rename","iss","rename");
rename("input.txt", "output.txt");</lang>
 
=={{header|Pascal}}==
Anonymous user