필터 지우기
필터 지우기

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 CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by