Könnte mir jemand ein Beispiel machen, wie ich z.b. einen String zu einer .bat Datei sende ?
C#
Something like dat ?
C#
Wie genau sollte soeine .Bat Datei dann aussehen, damit er dann z.b. den String rausgibt.Quote:
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = @"C:\decode.bat";
proc.StartInfo.Arguments = text;
proc.Start();
Something like dat ?
Quote:
@echo off
echo %1
pause