diff --git a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs index ded311beb..f386fa082 100644 --- a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs +++ b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.cs @@ -513,7 +513,7 @@ private void btnTest_Click(object sender, EventArgs e) ProcessStartInfo psi = new ProcessStartInfo() { FileName = "cmd.exe", - WorkingDirectory = Path.GetDirectoryName(Options.FFmpeg.FFmpegPath), + WorkingDirectory = Path.GetTempPath(), Arguments = $"/k {Path.GetFileName(Options.FFmpeg.FFmpegPath)} {Options.GetFFmpegCommands()}", UseShellExecute = true };