bobheart Posted May 31, 2004 Share Posted May 31, 2004 (edited) ASSOC | MORE > mymore2.txt I can get how to load a dos command in code . Added the > mymore2.txt and it prints it out to txt . Edited May 31, 2004 by bobheart Link to comment Share on other sites More sharing options...
tutor2000 Posted May 31, 2004 Share Posted May 31, 2004 ASSOC | MORE > mymore2.txt I can get how to load a dos command in code . Added the > mymore2.txt and it prints it out to txt .So what do you want to do? Rick Link to comment Share on other sites More sharing options...
bobheart Posted May 31, 2004 Author Share Posted May 31, 2004 Well that list filetypes and their associated programs , but I got it to work turning it in to a dos.bat and then made it into an exe .. if I could do it with out all that in autoit code it would be nice . Link to comment Share on other sites More sharing options...
pekster Posted May 31, 2004 Share Posted May 31, 2004 FAQ Item #5 in the helpfile (Found in the AutoIt: Frequently Asked Questions (FAQ) section)Just useRunWait(@COMSPEC & " /c assoc > FileExtensions.txt")You should also note that while piping to 'more' is nice when your in a command prompt, it's rather pointless when you are dumping the output to a text file. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
bobheart Posted May 31, 2004 Author Share Posted May 31, 2004 Thank you pekster for the help and pointing that out to me . Anymore things like that can be done you know about ? Link to comment Share on other sites More sharing options...
bobheart Posted May 31, 2004 Author Share Posted May 31, 2004 (edited) I'm trying to hive the dos qindow but getting errors with this ? RunWait(@COMSPEC & " /c assoc > FileExtensions3.txt, "", @SW_HIDE) Edited May 31, 2004 by bobheart Link to comment Share on other sites More sharing options...
tutor2000 Posted May 31, 2004 Share Posted May 31, 2004 Look at filefindfirst and filefindnext It took me a bit of time to figure them out, but once I did it sped things up and put a stop to that !@#$ space in files problem Rick Link to comment Share on other sites More sharing options...
Developers Jos Posted May 31, 2004 Developers Share Posted May 31, 2004 (edited) I'm trying to hive the dos qindow but getting errors with this ? RunWait(@COMSPEC & " /c assoc > FileExtensions3.txt, "", @SW_HIDE)RunWait(@COMSPEC & " /c assoc > FileExtensions3.txt", "", @SW_HIDE) Edited May 31, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bobheart Posted May 31, 2004 Author Share Posted May 31, 2004 I need to turn the light on when I post .lol I looked and looked and didn't see that " missing . damn .. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 31, 2004 Developers Share Posted May 31, 2004 What editor are you using ? It helps when you use one that does syntaxt highlighting, because then its easier to find these typo's ... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bobheart Posted May 31, 2004 Author Share Posted May 31, 2004 Using Crimson Editor right now . Link to comment Share on other sites More sharing options...
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