Skip to content

Instantly share code, notes, and snippets.



Created Jul 31, 2020
What would you like to do?
C# program to run ccextractor on a directory of files
using System;
using System.Diagnostics;
using System.IO;
namespace ExtractorRunner
class Program
static void Main(string[] args)
var directory_to_import = "D:/Data/clients/RodPaddock/CCExtractor/";
var extractor_exe_path = "D:/Data/clients/RodPaddock/CCExtractor/ccextractorwin";
foreach (var fileName in Directory.GetFiles(directory_to_import,"*.mpg"))
var process = new Process()
StartInfo = new ProcessStartInfo
FileName = $"{extractor_exe_path}",
Arguments = $"{fileName}",
UseShellExecute = true,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment