Yesterday we discussed how to use DTB to make a file into a mpeg, today let's answer Galt's question. This is a much easier process because we've already done the real work, and now it's really just extending the process with a few actions to turn it into a file that MC will see as a TV file.
DTB can't convert files to DVR-MS natively, but todvrms can. DTB includes two actions for shelling command line applications, RunExternal and RunExternalPlus. Either one will work for our purpose, but to make it easier lets use RunExternal. Also, for completeness let's assume that the source file contains metadata (or in the case of Sage files, we can fake it), and we want to copy the metadata from the source file into our newly created DVR-MS file.
Select the profile we created yesterday in the settings tool and click "New Profile From". Give it a good name and description, then add RunExternal, ChangeContextValue, and MigrateMetadata by clicking "Add".
Configure ChangeContextValue to use the InputFile to create an new context value called DVRMSFile using FindRegex = "![]()
![]()
([^\\]+)\.(\w|-)+\z" (notice this is a little different than yesterday, I changed it a bit to work with extension that have a - in them. If the file you want to work with has a - in it, for completness you'll want to change the first ChangeContextValue too) and ReplaceRegex = "$1.dvr-ms" (without the quotes).
MigrateMetadata to copy the metadata from InputFile to DVRMSFile (you will need to type this in).
And RunExternal to execute todvrms.exe (if it's in the install dir you don't need the complete path) passing %OutputFile% and %DVRMSFile% as arguments.

Then change the order of the actions at the end of the profile to be ChangeContextValue -> RunExternal -> MigrateMetadata.
No download this time, that would be too easy :)