How to rename file from command prompt

조회 수: 11 (최근 30일)
Sameer Kumthekar
Sameer Kumthekar 2011년 12월 14일
편집: jonathan 2017년 10월 20일
Hi,
I have a file named 'SW984-362-19-230-vXYZ.doc'. I want to rename it as 'SW984-362-19-230-W1234.5.doc'.
I tried using rername function. But it asks for ftp server.I am not sure which ftp server i should use. Can anyone please suggest me how to do it using some script or from command prompt?
Thanks in advance !!
Sameer
  댓글 수: 4
Jan
Jan 2011년 12월 14일
@Daniel: I agree. Therefore I've voted your answer.
I immediately send an enhancement request.
jonathan
jonathan 2017년 9월 11일
편집: jonathan 2017년 10월 20일
When you want to escape asks for ftp server always use Batch Rename Files Tool. You can easily found hier BatchRenameFiles.org

댓글을 달려면 로그인하십시오.

채택된 답변

Daniel Shub
Daniel Shub 2011년 12월 14일
doc movefile
movefile('SW984-362-19-230-vXYZ.doc', 'SW984-362-19-230-W1234.5.doc');
  댓글 수: 1
Sameer Kumthekar
Sameer Kumthekar 2011년 12월 14일
Thanks Daniel ,
It is exactly working as expected.
Thanks again !!
Sameer

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by