how to change the name of a directory in windows code example Example: change folder name using cmd Rename dir_oldname dir_newname