Hi I found an example on how to send cmds to a dos window. http://www.planet-source-code.com/xq/ASP/txtCodeId.3593/lngWId.1/qx/vb/scrip ts/ShowCode.htm Working with that example, i got the dsmadmc command to produce output to the -outfile. Kaj