Rename directory from command line
https://www.windows-commandline.com/rename-directory-from-command-line/
Rename directory from command line
Rename dir_oldname dir_newnameG:\data>mkdir dir1
G:\data>dir /b
dir1
G:\data>rename dir1 dir2
G:\data>dir /b
dir2
G:\data>C:\docs>ren 1.txt c:\docs\2.txt
The syntax of the command is incorrect.Last updated