When I use the following peice of code, I get an error message stating "the system cannot find the file specified".
Set Command = WScript.CreateObject("WScript.Shell"
cmd = "c:\program files\Internet Explorer\iexplore.exe"
Command.Run (cmd)
But when I use this, it works.
Set Command = WScript.CreateObject("WScript.Shell"
cmd = "c:\progra~1\Intern~1\iexplore.exe"
Command.Run (cmd)
Set Command = WScript.CreateObject("WScript.Shell"
cmd = "c:\program files\Internet Explorer\iexplore.exe"
Command.Run (cmd)
But when I use this, it works.
Set Command = WScript.CreateObject("WScript.Shell"
cmd = "c:\progra~1\Intern~1\iexplore.exe"
Command.Run (cmd)