Hello,
I have this small vbs script that I wanted to know, if there is a way that I can not have the information box popup.
Saying"Are you sure you want to add the information in I:\portable\lanview\lanview.reg to the registry?
Yes or No
I would like to have it overwrite, so I added to my code
, overrite = TRUE
Dim WSHShell ' declare the object variable
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Run "%comspec% /c " & strPath & "lanview.reg",overwrite = True
But it still asks, so what I'm I doing wrong. Any Ideas.
Thanks,
Mike
I have this small vbs script that I wanted to know, if there is a way that I can not have the information box popup.
Saying"Are you sure you want to add the information in I:\portable\lanview\lanview.reg to the registry?
Yes or No
I would like to have it overwrite, so I added to my code
, overrite = TRUE
Dim WSHShell ' declare the object variable
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Run "%comspec% /c " & strPath & "lanview.reg",overwrite = True
But it still asks, so what I'm I doing wrong. Any Ideas.
Thanks,
Mike