フィルターのクリア

Movefile doesn't have access to directory

4 ビュー (過去 30 日間)
Jack Walsh
Jack Walsh 2021 年 7 月 15 日
コメント済み: Walter Roberson 2021 年 7 月 15 日
I'm trying to rename a file, and no matter what I try MATLAB won't let me.
>> cd 'C:\Users\Jack Walsh\Downloads'
>> movefile abc.txt xyz.txt
Error using movefile
Cannot write to destination: C:\Users\Jack Walsh\Downloads. Use the 'f' option to override.
What can allow me to write to the Downloads folder?

採用された回答

Walter Roberson
Walter Roberson 2021 年 7 月 15 日
movefile -f abc.txt xyz.txt
  2 件のコメント
Jack Walsh
Jack Walsh 2021 年 7 月 15 日
>> cd 'C:\Users\Jack Walsh\Downloads'
>> movefile -f abc.txt xyz.txt
Error using movefile
'xyz.txt' is an invalid option.
Walter Roberson
Walter Roberson 2021 年 7 月 15 日
movefile abc.txt xyz.txt f

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by