Eress
10-11-2015, 19:20
Come da titolo, come si fa ad unire due task vbs in uno solo? Gli asterischi dividono i due task. Qualcuno sa come fare?
' Desktop.vbs - to Refresh Icons on the Desktop
' Example VBScript to re-activate the Desktop Shell
' Author Jeremy H. & Guy Thomas http://computerperformance.co.uk/
' Version 2.1 - October 2005
' -------------------------------------------------------------'
SET WshShell = CreateObject("WScript.Shell")
SET oExec=WshShell.Exec("taskkill /F /T /IM programxxx.exe")
SET oExec= Nothing
SET WshShell =Nothing
*****************
Option Explicit
Dim WSHShell, strDesktop
Set WSHShell = WScript.CreateObject("WScript.Shell")
strDesktop = WSHShell.SpecialFolders("Desktop")
WSHShell.AppActivate strDesktop
WSHShell.SendKeys "{F5}"
WScript.Quit
' End of VBScript to refresh the desktop
' Desktop.vbs - to Refresh Icons on the Desktop
' Example VBScript to re-activate the Desktop Shell
' Author Jeremy H. & Guy Thomas http://computerperformance.co.uk/
' Version 2.1 - October 2005
' -------------------------------------------------------------'
SET WshShell = CreateObject("WScript.Shell")
SET oExec=WshShell.Exec("taskkill /F /T /IM programxxx.exe")
SET oExec= Nothing
SET WshShell =Nothing
*****************
Option Explicit
Dim WSHShell, strDesktop
Set WSHShell = WScript.CreateObject("WScript.Shell")
strDesktop = WSHShell.SpecialFolders("Desktop")
WSHShell.AppActivate strDesktop
WSHShell.SendKeys "{F5}"
WScript.Quit
' End of VBScript to refresh the desktop