> os.system('C:\Program Files\EPANET2\epanet2d.exe > C:\simulation test\Network3_1.inp C:\simulation > test\Network3_1.out')
have you tried the following? os.system('"C:\Program Files\EPANET2\epanet2d.exe" "C:\simulation test\Network3_1.inp" "C:\simulation test\Network3_1.out'"') -- Gabriel Dain _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor