Tyranlol Posted July 29, 2010 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]
Solution Calistoga Posted July 29, 2010 Solution 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
Tyranlol Posted July 29, 2010 Author 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]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now