ftp renameftp rename

适用于: Windows Server (半年通道) ,Windows Server 2019,Windows Server 2016,Windows Server 2012 R2,Windows Server 2012Applies to: Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

重命名远程文件。Renames remote files.

语法Syntax

rename <filename> <newfilename>

参数Parameters

参数Parameter 说明Description
<filename> 指定要重命名的文件。Specifies the file that you want to rename.
<newfilename> 指定新的文件名。Specifies the new file name.

示例Examples

若要将远程文件 example.txt 重命名为 example1.txt,请键入:To rename the remote file example.txt to example1.txt, type:

rename example.txt example1.txt

其他参考Additional References