Windows – Creating a torrent from a command line application (Windows)

bittorrentcommand linewindows

Does anyone know of a application that allows you to create torrent files via the command-line in Windows?

Update: I need a command-line version because I'm a programmer. I need to create the torrent programmatically, I can't have a window pop-up. There's a ton of uses for command-line torrent creation and I think it's very strange that I havent found a command line version from my hours of searching the Internet.

Best Answer

Alternative 1) mktorrent for Windows:

Mktorrent is a very easy tool for creating Torrents on the commandline, but only for Linux (only Sourcecode to compile self) – so i compiled a Win32/Win64 Version over Cygwin.

Installation: Copy the mktorrent.exe and the DLLs in \Windows\System32\
On Server 2008 R2 Copy the mktorrent.exe in \Windows\System32\ , and the DLLs in \Windows\SysWOW64\

Usage i.e.: mktorrent -l 21 -a http://tracker.url foldername

Alternative 2) py3createtorrent:

py3createtorrent is a comprehensive shell/commandline utility for creating torrents (Linux & Windows). It's a GPL-licensed Python v3.1 script. I tested it with Ubuntu 8.04 / rTorrent and Windows 7 / µTorrent.