Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change DNS Setting programically
#8
Thanks it work, heres the working code. BTW Wscript.Quit(0) have to be remove too.Big Grin

Macro VbscriptNotepad
Code:
Copy      Help
lpstr code=
;Dim WSHShell
;Set WSHShell = CreateObject("WScript.Shell")
;
;;
;WSHShell.Run "notepad.exe", 3, true
;
;WSHShell.Run "notepad.exe", 2, true
;
;WSHShell.Run "notepad.exe", 1, false
;
;Set WSHShell = Nothing

VbsExec code


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)