Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Test>for /f %a in ("bbs.bathome.com,","ajf aslf") do echo %a C:\Test>echo bbs.bathome.com," bbs.bathome.com," C:\Test>for /f %a in ("bbs.bathome.com,","bath bathome") do echo %a C:\Test>echo bbs.bathome.com," bbs.bathome.com," C:\Test> |
C:\>for /f %a in ("bbs.bathome.com,","ajf aslf") do echo %a bbs.bathome.com," C:\>for /f %a in ("bbs.bathome.com,","ajf aslf") do echo %a bbs.bathome.com," C:\>for /f %a in ("bbs.bathome.com,","ajf aslf") do echo %a bbs.bathome.com," 系统找不到文件 _。 C:\>for /f %a in ("bbs.bathome.com,","ajf aslf") do echo %a bbs.bathome.com," 系统找不到文件 §。 C:\>for /f %a in ("bbs.bathome.com,","ajf aslf") do echo %a bbs.bathome.com," 系统找不到文件 §。 C:\>for /f %a in ("bbs.bathome.com,","ajf aslf") do echo %a bbs.bathome.com," 系统找不到文件 § 。 |
这个应该是不遵循命令语法而产生的Bug
D:\Test>for /f %a in ("abcedfghi " "ajf aslf") do echo %a
D:\Test>echo abcedfghi
abcedfghi
系统找不到文件
f @ҨҨWS\system32\cmd.exe - echo abcedfghi"。
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |