Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
调用 GnuWin32find.exe . -name "foo" -exec backup.bat {} \;会产生以下错误:
find.exe . -name "foo" -exec backup.bat {} \;
find: missing argument to `-exec'
什么是正确的语法?
以这种方式调用 GnuWin32 find.exe:
find.exe . -name "foo" -exec backup.bat {} ;
在 Windows 命令提示符中转义分号是不必要的。