eynstyne Posted March 11, 2006 Posted March 11, 2006 Can autoit make a DOS program? Sometimes I just don't want windows... Pretty oldschool. F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
cppman Posted March 11, 2006 Posted March 11, 2006 check out this link: http://www.autoitscript.com/forum/index.ph...45entry135745 . Miva OS Project
eynstyne Posted March 11, 2006 Author Posted March 11, 2006 How would I type a command using this? if I wanted to type dir or cd, what do I need to do? F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
Valuater Posted March 11, 2006 Posted March 11, 2006 How would I type a command using this? if I wanted to type dir or cd, what do I need to do?to run in Autoit? ....ortotally dos8)
eynstyne Posted March 11, 2006 Author Posted March 11, 2006 Totally DOS, with or without windows support F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
cppman Posted March 11, 2006 Posted March 11, 2006 im not sure if you can do that using that UDF... you would have to use it like Run(@ComSpec & " /k chkdsk") Miva OS Project
Valuater Posted March 11, 2006 Posted March 11, 2006 To run DOS (console) commands, try Run(@ComSpec & " /c " & 'commandName', "", @SW_HIDE) 8)
eynstyne Posted March 11, 2006 Author Posted March 11, 2006 I don't want to hide the window. Could I just use @SW_SHOW instead of @SW_HIDE? F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
Valuater Posted March 11, 2006 Posted March 11, 2006 (edited) yes use "/k" to leave the cmd window open ( like Chriss said ) 8) Edited March 11, 2006 by Valuater
eynstyne Posted March 11, 2006 Author Posted March 11, 2006 I just miss oldschool DOS programming. I don't know why, I just do. TYVM F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
cppman Posted March 11, 2006 Posted March 11, 2006 (edited) me 2.... Sometimes its a bit fun. .....but linux is funner Edited March 11, 2006 by CHRIS95219 Miva OS Project
Valuater Posted March 11, 2006 Posted March 11, 2006 i used to write menus in DOS and loved it but Autoit can do so much more... and control dos too!!! I Love that even more 8)
eynstyne Posted March 11, 2006 Author Posted March 11, 2006 Bootable DSL and Ubuntu are what I use for Linux. And yes Linux is awesome. F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
eynstyne Posted March 11, 2006 Author Posted March 11, 2006 Oh.. One more question. If I compile it into an EXE, can I run it in Pure DOS? F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
cppman Posted March 11, 2006 Posted March 11, 2006 (edited) don't think u can... ur gonna need to turn to c++ for that..... the good ol' cout and cin Edited March 11, 2006 by CHRIS95219 Miva OS Project
Valuater Posted March 11, 2006 Posted March 11, 2006 years ago windows was a shell of dos... now dos is a shell of windows so after you have compiled it you should be able to call it from dos 8)
cppman Posted March 11, 2006 Posted March 11, 2006 years ago windows was a shell of dos...nowdos is a shell of windowsso after you have compiled it you should be able to call it from dos8)hmm, i did'nt know u would be able to run it from their... *i learn something every day! yay!* Miva OS Project
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