Sign in to follow this  
Followers 0
eynstyne

Make a dos program in autoit

18 posts in this topic

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]

Share this post


Link to post
Share on other sites



in Scite

Type "selfdelete"

Press "space

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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? ....

or

totally dos

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

im not sure if you can do that using that UDF...

you would have to use it like

Run(@ComSpec & " /k chkdsk")

Share this post


Link to post
Share on other sites

To run DOS (console) commands, try Run(@ComSpec & " /c " & 'commandName', "", @SW_HIDE)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

yes

use "/k" to leave the cmd window open ( like Chriss said )

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

me 2.... Sometimes its a bit fun. :)

.....but linux is funner

Edited by CHRIS95219

Share this post


Link to post
Share on other sites

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)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

#16 ·  Posted (edited)

don't think u can...

ur gonna need to turn to c++ for that.....

the good ol'

cout and cin

Edited by CHRIS95219

Share this post


Link to post
Share on other sites

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)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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)

hmm, i did'nt know u would be able to run it from their...

*i learn something every day! yay!*

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0