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.
我用批处理脚本创建了一个文件。但是当我使用 %.
echo WshShell.SendKeys "%" >> fun.vbs
但是当我检查 vbs 脚本时,我看到了这个
WshShell.SendKeys ""
如何将 '%' 放在 vbscript 中?
感谢您的回复 !
试试双倍%,即%%
%
%%
这是解释这一点的链接。看看这个网站,它是 cmd.exe 的惊人参考
顺便说一句,如果你有选择的话,我无法阻止自己推荐你学习 linux 和 bash 而不是 cmd.exe。