in reply to why doesn't my system('cls') work?
If your cmd.exe wasn't somehow missing, you should have written that as $Output = qx( cls );. system returns something entirely different than you were expecting.