Ein ganz simples Skript welches CMD-Befehle ausführt 😉
' dos.vbs - Simples Befehls-Script
' Author Christoph Goth
' -----------------------------------------------------------------'Option Explicit
Dim WSHNetwork, objUser, strUserName, strUserDomain, ObjGroupDict, strPort, WSHShell, objShell
Set WSHNetwork = CreateObject("WScript.Network")
Set WSHShell = WScript.CreateObject("WScript.Shell")
Set objShell = CreateObject("Shell.Application")' CMD-Befehle
WSHShell.Run "BEFEHLE", 0' Ende des Windows Logon Scripts
Wscript.Quit