Rename a file: Difference between revisions
Content deleted Content added
rename file in autohotkey |
Vedit macro language added |
||
Line 305:
mv docs mydocs
mv /docs /mydocs
=={{header|Vedit macro language}}==
Vedit allows using either '\' or '/' as directory separator character, it is automatically converted to the one used by the operating system.
<lang vedit>
// In current directory
File_Rename("input.txt", "output.txt")
File_Rename("docs", "mydocs")
// In the root directory
File_Rename("/input.txt", "/output.txt")
File_Rename("/docs", "/mydocs")
</lang>
=={{header|Visual Basic .NET}}==
|