@echo off set source=C:\source
set target=C:\target
set filename=test.txtif exist %source%%filename% ( copy %source%%filename% %target% )
编写一个bat文件实现以下功能:检测文件夹内是否存在某个文件,如果存在,将该文件复制到另一个文件夹中...
最新推荐文章于 2024-09-24 06:00:00 发布
@echo off set source=C:\source
set target=C:\target
set filename=test.txtif exist %source%%filename% ( copy %source%%filename% %target% )
8135

被折叠的 条评论
为什么被折叠?