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.
我使用下面的代码
adb push %DESKTOP_PATH%\Bill.txt %MOBILE_PATH%
我收到
1663 KB/s(0.030 秒内 51182 字节)
有什么办法不显示上述信息?
adb push %DESKTOP_PATH%\Bill.txt %MOBILE_PATH% 2>NUL >NUL
使用命令重定向运算符
将您的输出重定向到nul.
nul
adb push %DESKTOP_PATH%\Bill.txt %MOBILE_PATH% > nul