Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.SendKeys "{F5}+{F10}e"
这是vbs版的,于是我写了下面的
echo Set WSHShell = WScript.CreateObject("WScript.Shell") >temp.vbs
echo WSHShell.SendKeys "{F5}+{F10}e">>temp.vbs
cscript temp.vbs
上面的代码全部执行成功,可是就是不能刷新桌面,它后台运行了
郁闷,要它安静运行,它就不安静,要它不安静运行,嘿,它偏偏安静的不得了
谁能给个dos 版的我
[ Last edited by wert123 on 2007-6-1 at 03:01 PM ]
WSHShell.SendKeys "{F5}+{F10}e"
这是vbs版的,于是我写了下面的
echo Set WSHShell = WScript.CreateObject("WScript.Shell") >temp.vbs
echo WSHShell.SendKeys "{F5}+{F10}e">>temp.vbs
cscript temp.vbs
上面的代码全部执行成功,可是就是不能刷新桌面,它后台运行了
郁闷,要它安静运行,它就不安静,要它不安静运行,嘿,它偏偏安静的不得了
谁能给个dos 版的我
[ Last edited by wert123 on 2007-6-1 at 03:01 PM ]
