How to rename file from command prompt

2 次查看(过去 30 天)
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');

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by