Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Sign in to follow this  
Followers 0
Afterdawn

Make GUI for batch/cmd file.

15 posts in this topic

I'm looking a program to "convert" my CMD scripts to a nice looking GUI program. Is there an utility that will help me do this?

Something like Visual Studio or Visual Basic is way too complicated... I just want a program that will let the user interact with the cmd-file in a nice GUI-way.

Thanks in advance! :)

0

Share this post


Link to post
Share on other sites

You have GUI command-shells, but that's not a good thing to use.

You can also comiple the .CMDs to an EXE - or use CMDOW to hide it completely.

Or you can replace CMD scripts with something graphical - like WIHU/WPI/XPlode/etc.

0

Share this post


Link to post
Share on other sites

If youre looking to replace general batch files, not just the UA application install method, I hate to tell ya, but there isnt any 'easy' way to do this. Youve got to use some other coding like VB or Java script.

0

Share this post


Link to post
Share on other sites

which doesnt change the functionality at all... just puts bells and whistles on the cmd prompt... but, thats about as close as your going to get without recoding your batch files...

0

Share this post


Link to post
Share on other sites

Thanks for the many replies!

However, I don't need a CMD replacement, nor do I want to compile my batchfiles. I just want a little tool (which I call from my cmd-file) that is able to receive input from the user and shows it on the screen / push it in a enviromentle variable. Or display a message.

0

Share this post


Link to post
Share on other sites

Use WIHU. This will allow the user to input what programs they want installed. You have WIHU call your batch files (or re-code them into WIHU, whichever is easier for you), and it installs.

WIHU is easy to use, and is a great piece of software. It also makes a great program to include as an autorun on your CD. Which means its a great software selection program as well as an unattended tool.

If this type of feature isn't what you want, please explain better. I think many of us are confused about what you actually want. :)

0

Share this post


Link to post
Share on other sites

I guess the question is what exactly do you plan on using this for? If youre referring to simply replacing the runonceex / guirunonce stage with something that allows for the user interaction you talking about, then use what a couple of these guys are referring to... WIHU or WPI, they do exactly that.

If youre talking just any batch file in general, I guess another question would be, does it have to be a "GUI" interface? You can easily make menus with batch files that would allow the user to launch any other batch files you want... that would probably be the easiest solution to what youre looking for if you dont want to stray too far off of batch files...

and holy cow! im over 400 posts! woot!

0

Share this post


Link to post
Share on other sites
I just want a little tool (which I call from my cmd-file) that is able to receive input from the user and shows it on the screen / push it in a enviromentle variable. Or display a message.
VBscript is perfectly suited for this. If you want to proceed on that, or want code snippets, please tell what purpose its for and I could whip one up.
0

Share this post


Link to post
Share on other sites

I have used (mind you that I am NO programmer) this nifty little tool here:

The Wizard's Apprentice

http://wizapp.sourceforge.net/

the exe file is only 70 Kb

Though it is aimed as a GUI overlay for batch install routines, it has enough options available to be used as a GUI to ANY batch file.

See here the example I made:

http://home.graffiti.net/jaclaz:graffiti.n...ts/VDM/vdm.html

jaclaz

0

Share this post


Link to post
Share on other sites

I just want to create GUIs for my batch files. The Wizards Apprentice is just what I need! Thanks everybody for the replies!

(However I do want to learn VBscript, to see what I can achieve with that!)

0

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

  • Recently Browsing   0 members

    No registered users viewing this page.