sunsea 发表于 2020-3-26 13:55
find --set-root /xx | set abc=
if "%abc%"=="(hd0,1)" echo 111
尝试一下?
邪恶海盗 发表于 2020-3-26 14:08
实测无效...
sunsea 发表于 2020-3-26 14:23
既然有--set-root那么检查下%@root%是什么?应该可以用
不点 发表于 2020-3-26 15:07
find --set-root /..... 命令之后显示的 (pd),其前面似乎还有一个空格,不知道是否因此而影响了判断语句的 ...
邪恶海盗 发表于 2020-3-26 17:03
奇怪,find --set-root /xxx和find --set-root/xxx结果不一样,是命令对空格敏感还是BUG???
不点 发表于 2020-3-26 17:35
空格起着语法分隔的作用。不带空格,肯定是不对的。如果不带空格,比如说就像这样:find --set-root/aaa/ ...
chenall 发表于 2020-3-26 20:02
网络的读取进度条
欢迎光临 无忧启动论坛 (http://wuyou.net/) | Powered by Discuz! X3.3 |