Executing DOS command with result

C42 nospam at nospam.org
Sat Dec 28 22:22:42 EST 2002


I'm trying to write a Python script to automate an MS Exchange defragment
procedure.

Part of the procedure uses a Microsoft-created DOS utility that, when run,
returns a message in the DOS box that reports how it ran.

What I'm trying to determine is if there is any way to have Python use
conditional statements based upon the result of running this program.

Thanks for the help,
Chris



More information about the Python-list mailing list