我有这段代码,它总是返回 True 并且文件被移动。我的代码有什么问题? 我在 Windows 批处理文件上运行。
if exist H:\RCP\outbound\vendor\%%a\%text% ( echo file will be moved ) else ( echo file does not exist )
尝试了多个选项,包括 if - else 但不起作用