此批处理命令在目录之间移动文件或目录。
move [source] [destination]
文件将从源复制到目标位置。
链接:https://www.learnfk.comhttps://www.learnfk.com/batch-script/batch-script-move.html
来源:LearnFk无涯教程网
以下示例显示了move命令的不同变体。
@echo off Rem Moves the file list.txt to the directory c:\tp move C:\lists.txt c:\tp Rem Renames directory Dir1 to Dir2, assuming Dir1 is a directory and Dir2 does not exist. move Dir1 Dir2 Rem Moves the file lists.txt to the current directory. move C:\lists.txt
所有操作均按照批处理文件中的备注执行。
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)
Tony Bai · Go语言第一课 -〔Tony Bai〕