hello, i'm coding a GUI for the chkdsk.exe utility. i'm launching the dos tools in an hidden windows and grab the stdout in a var. the issue is that sometimes chkdsk ask (y/n) (in case it has to reboot to do it stuff). how can i send it y or n? $foo = Run(@SystemDir &'\chkdsk.exe ' &$numpart& ' /F', '', @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD) While 1 $line = StdoutRead($foo) If @error Then ExitLoop If StringInStr($line,"(O/N)",0) Then $temp=MsgBox(1+48,"chkdsk