I need refresh command. I tried tskill explorer but it restarts explorer. http://forums.mydigitallife.net/attachment.php?attachmentid=31963&stc=1
so you do not want explorer to start again? in a batch this will restart explorer. Code: taskkill /f /im explorer.exe explorer.exe in a batch this will not restart explorer. Code: taskkill /f /im explorer.exe Win8.1 approved lol
I know these commands. I want Explorer won't close or restart like right click Refresh. I need only refresh command. I searched it very much. But final solution is - dos has no refresh command. vbs can be used and it works fine. If this vbs code could be used in batch it would be great. Set WSHShell = CreateObject("WScript.Shell") WshShell.SendKeys "{F5}"
Code: @echo off set file=%temp%\refresh.vbs echo Set WSHShell = CreateObject^("WScript.Shell"^)>%file% echo WshShell.SendKeys "{F5}">>%file% %file% if exist %file% del /s /q %file% >nul
It's not working. It may work in xp. I'm in Win8.1. I also tried to call the vbs file with wscript "full path of .vbs file" and cscript "full path of .vbs file"