Rename a file: Difference between revisions
Content added Content deleted
(rename file in autohotkey) |
(Vedit macro language added) |
||
Line 305: | Line 305: | ||
mv docs mydocs |
mv docs mydocs |
||
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}}== |
=={{header|Visual Basic .NET}}== |