Rename a file: Difference between revisions
Content deleted Content added
m →{{header|Wren}}: Minor tidy |
PascalABC.NET |
||
Line 992: | Line 992: | ||
end;</syntaxhighlight> |
end;</syntaxhighlight> |
||
=={{header|PascalABC.NET}}== |
|||
<syntaxhighlight lang="delphi"> |
|||
uses System.IO; |
|||
begin |
|||
&File.Move('input.txt','output.txt'); |
|||
&File.Move('\input.txt','\output.txt'); |
|||
Directory.Move('docs','mydocs'); |
|||
Directory.Move('\docs','\mydocs'); |
|||
end. |
|||
</syntaxhighlight> |
|||
=={{header|Perl}}== |
=={{header|Perl}}== |