A simpler way is to make a special shortcut:
http://www.thebuddyforum.com/demonbuddy-forum/demonbuddy-guides/56421-starting-demonbuddy-style.html
Basically, make a shortcut of DB, then in the shortcut properties, edit the target to contain the options you want. For example, to just have it run for 2 hours, it would look something like this:
"C:\Demonbuddy 1.0.952.222\Demonbuddy.exe" -minutes 120
or you could have it only do 10 runs of your profile:
"C:\Demonbuddy 1.0.952.222\Demonbuddy.exe" -runcount 10
Hope this helps!