我可以为 cscript 脚本提供某种选项来显示它正在做什么吗?
类似于在 unix shell 或 bash 脚本上设置 -x 选项。我没有写这个脚本,但我真的很想弄清楚它在做什么。
最佳答案
尝试使用参数
//D 这将打开调试器。
引用资料 http://technet.microsoft.com/en-us/library/bb490887.aspx http://technet.microsoft.com/en-us/library/bb490816.aspx
关于windows - 如何跟踪 Cscript 脚本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23923977/