高手帮帮小弟忙谢谢。。。!!!!
我想写一个自动删除PUBWIN4的脚本,可是在刚出发就出问题了。。。程序是这样的C:\windows\system32\IsUninst.exe -f"C:\Program Files\Hintsoft\Pubclt\Uninst.isu"
这个是PUBWIN4的卸载程序,我试了好几个方法.象下边这个
Run(@ComSpec & 'IsUninst.exe -f C:\Program Files\Hintsoft\Pubclt\Uninst.isu',@SW_HIDE)
但是脚本就是没办法运行....也试过其它办法,,,小弟是个新手,不懂得怎么加参数让它正常运行,请高手们帮帮小弟忙,真心感谢谢!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Run(@systemdir & '\IsUninst.exe -f"C:\Program Files\Hintsoft\Pubclt\Uninst.isu"','',@SW_HIDE) 谢谢老大了呵呵,,,!!!!我马上去试试看 WinWaitActive("Confirm File Deletion","Are you sure you want to completely remove 'Pubclt' and all of its components?")
send("!y")
WinWaitActive("Remove Shared File?","msdart32.dll")
send("!a")
WinWaitActive("Remove Shared File?","是(&Y)")
send("!y")
WinWaitActive("Remove Programs From Your Computer","Uninstall successfully completed.")
send("{enter}")
后来再仔细编写了一下,,,上边这个可以删除PUBWIN4
页:
[1]