Um eine VBS-Datei (VBScript) zu erstellen, brauchst du nur einen Texteditor (wie Notepad) und speicherst die Datei mit der Endung .vbs.

Set shell = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")

shell.Run "powershell -WindowStyle Hidden -Command ""[reflection.assembly]::loadwithpartialname('System.Windows.Forms') | Out-Null; $notify = new-object System.Windows.Forms.NotifyIcon; $notify.Icon = [System.Drawing.SystemIcons]::Information; $notify.BalloonTipTitle = 'Start'; $notify.BalloonTipText = 'Skript läuft.'; $notify.Visible = $true; $notify.ShowBalloonTip(3000); Start-Sleep -Seconds 5; $notify.Dispose()""", 0, False

' Fester Basis-Pfad
basepath = "C:\\Program Files (x86)"

' === HUD FX starten ===
hudfx = basepath & "\\HUD Companion\\HUD Companion.exe"
If fso.FileExists(hudfx) Then
    ' Starte HUD FX im Hintergrund
    shell.Run "powershell -WindowStyle Hidden -Command Start-Process -FilePath '" & hudfx & "'", 0, False
Else
    ' Fehlerausgabe, falls HUD FX nicht gefunden wird
    WScript.Echo "Fehler: HUD Companion.exe wurde nicht gefunden!"
End If

' === OBS Studio starten mit Arbeitsverzeichnis ===
obs = basepath & "\\obs-studio\\bin\\64bit\\obs64.exe"
obsDir = basepath & "\\obs-studio\\bin\\64bit"
If fso.FileExists(obs) Then
    ' Starte OBS Studio im richtigen Arbeitsverzeichnis
    shell.CurrentDirectory = obsDir
    shell.Run """" & obs & """", 1, False
Else
    ' Fehlerausgabe, falls OBS nicht gefunden wird
    WScript.Echo "Fehler: OBS Studio wurde nicht gefunden!"
End If

shell.Run "powershell -WindowStyle Hidden -Command ""[reflection.assembly]::loadwithpartialname('System.Windows.Forms') | Out-Null; $notify = new-object System.Windows.Forms.NotifyIcon; $notify.Icon = [System.Drawing.SystemIcons]::Information; $notify.BalloonTipTitle = 'Fertig'; $notify.BalloonTipText = 'Skript wurde beendet.'; $notify.Visible = $true; $notify.ShowBalloonTip(3000); Start-Sleep -Seconds 5; $notify.Dispose()""", 0, False