Changing folder's name from unknown name

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

タグ

質問済み:

ori
2014 年 5 月 14 日

コメント済み:

ori
2014 年 5 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by