I need to get access to the command line from an ASP page. (i.e. to call a an external program).

This may be able to be done by writing a dll or something, but I know nothing about that.

Could someone tell if that is in fact the correct way to go, and if so, point me towards a good ressource to learn how to do so? If not, what would be the correct way to achieve this?

Thanks much!