Tyranlol 0 Posted July 29, 2010 Hello Is there any easy way to run CMD commands in Autoit ? for example assoc .au3=txtfile and so on. Thanks in advance [u]Only by Attempting the Impossible You Can Earn the Remarkable[/u] Share this post Link to post Share on other sites
Calistoga 0 Posted July 29, 2010 (edited) It's in the helpfile #include <Process.au3> _RunDOS("assoc .au3=txtfile"); or RunWait(@ComSpec & " /C " & "assoc .au3=txtfile", "", @SW_HIDE); Edited July 29, 2010 by Encoded Share this post Link to post Share on other sites
Tyranlol 0 Posted July 29, 2010 It's in the helpfile #include <Process.au3> _RunDOS("assoc .au3=txtfile"); or RunWait(@ComSpec & " /C " & "assoc .au3=txtfile", "", @SW_HIDE); Works like a charm, thank you buddy [u]Only by Attempting the Impossible You Can Earn the Remarkable[/u] Share this post Link to post Share on other sites