VBS kodumdaki hata nedir?

basganmemduh

Hectopat
Katılım
26 Ocak 2021
Mesajlar
467
Kod bu:

If Not WScript.Arguments.Named.Exists("elevate") Then
CreateObject("Shell.Application").ShellExecute WScript.FullName _
, """ & WScript.ScriptFullName & """ /elevate", "", "runas", 1
WScript.Quit
End If
'----------------------
Dim oShell
Set oShell = WScript.CreateObject ("WScript.Shell")
oShell.run "cmd /c devcon.exe disable ""PCI\VEN_10EC&DEV_8168""" , 0 , True
Set oShell = Nothing

x=msgbox("Aygıt devre dışı" ,0, "haha")
 

Dosya Ekleri

  • kod.png
    23,5 KB · Görüntüleme: 75
  • hata.png
    56,4 KB · Görüntüleme: 85
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…