Skip to content

Instantly share code, notes, and snippets.

rjpaddock / run_cc.cs
Created Jul 31, 2020
C# program to run ccextractor on a directory of files
View run_cc.cs
using System;
using System.Diagnostics;
using System.IO;
namespace ExtractorRunner
class Program
static void Main(string[] args)
import os
import subprocess
directory_to_import = 'D:/Data/clients/RodPaddock/CCExtractor/'
extractor_exe_path = 'D:/Data/clients/RodPaddock/CCExtractor/ccextractorwin'
for file in os.listdir(directory_to_import):
if file.endswith(".mpg"):
print(os.path.join(directory_to_import, file))[extractor_exe_path, os.path.join(directory_to_import, file)])