Am Calling Notepad.vbs File In IE Browser... It Works

The Notepad.vbs Contains

Dim obj
Set obj = WScript.CreateObject( "WScript.Shell" )
obj.Exec("notepad.exe")
Set obj = Nothing

How To Executing This Notepad.vbs In FireFox and Chrome Browser....?

没有正确的解决方案

其他提示

CreateObject is ActiveX technology. It's supperted only in Internet Explorer.

Whatever browser we can run the vbs script file using ASP (Server Side Script)

(I.E.,):

<%
 Dim obj
 Set obj = WScript.CreateObject( "WScript.Shell" )
 obj.Exec("notepad.exe")
 Set obj = Nothing
%>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top