「addcurrentkey.vbs」というファイルでこれを実行しようとしましたが、「)」が行 1 にあると表示されます。文字 38.
このチュートリアルを試しました: http://www.codeproject.com/Articles/16569/Autorun-Applications
.vbs ファイルを実行できないのはなぜですか?
Private Sub AddCurrentKey(ByVal name As String, ByVal path As String)
Dim key As RegistryKey = Registry.CurrentUser.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
key.SetValue(name, path)
End Sub