Changing folder's name from unknown name

1 次查看(过去 30 天)
I want to change folder's name, but the only thing I know about the folder that it's the latest folder created in the folder where it located. How can I do it?

采纳的回答

Honglei Chen
Honglei Chen 2014-5-14
编辑:Honglei Chen 2014-5-14
d = dir;
The above command returns a struct array which has a field called datenum. Each file in the current directory corresponds to an entry in the array. The latest file will have the largest datenum

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by