Solved

Windows GUI Replacement for DOS Batch Programming

Posted on 2007-11-26
6
1,285 Views
Last Modified: 2012-05-05
Hi All,
I've been using basic, intermediate and occasionally advanced DOS Batch programming for the last 20 odd years on and off for the odd nasty little fix or job... I was a big fan of Norton DOS 8 in the day, but the last 5 to 10 years I've been thinking there must be either:
1) A nice GUI to string it all together and show the user nice lil prompt boxes OR
2) A successor scripting or programming language that is relatively native to Windows

Is there any such thing(s)? I primarily want all the quick n nasties to look a little pretier (especially when requesting user input) and hopefully be slightly less nasty/crude (And I know about starting (shortcut) windows minimised and CMDOW).

Thanks!
0
Comment
Question by:jasef
6 Comments
 
LVL 95

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 150 total points
ID: 20355247
There are several different scripting languages available to Windows. Batch programming, as you're familiar with.  There's also PowerShell (which is compatible with batch programs but also significantly enhanced), Windows Scripting Host, and several third party and/or older apps like Kix.  Personally, I still use batch myself.
0
 
LVL 3

Author Comment

by:jasef
ID: 20355460
Thanks for your prompt reply...

Is there anything that is likely to be running on every XP/Vista machine be default? I have briefly looked at WSH years ago, but thought this didn't end up being very successful 'in the field', plus manuals and guides where a fair abortion at that time.

The key component here is something that is more interactive with a typical Windows GUI for end user purposes (IE: No DOS Box)... This eliminates KIX I believe? Powershell I've never heard of, but will peak at now.



0
 
LVL 29

Accepted Solution

by:
matrixnz earned 200 total points
ID: 20355507
Hi jasef

Highly recommend AutoIT http://www.autoitscript.com it's easy to use, compiles to exe, you can create your own gui interface etc..

The other product I highly recommend for either simple installations, or packaging a product/program even dos commands  is Inno Setup http://www.jrsoftware.org

I tend to use a combination of both programs, Inno Setup primarily for wrapping other installers as you can provide conditional installations for e.g. if file version is xyz then don't install etc...  AutoIT can be used to do almost anything both products have good forums and excellent help/examples.

Hope that helps.

Cheers
0
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
LVL 3

Author Comment

by:jasef
ID: 20363871
Hi Gents(?),
Thanks muchly for your suggestions. I think between the options you have both presented I'll have some excellent alternatives! If over the next few days, no one has any other options they think beat the current suggestions to a pulp, I'll award points as a split.

Cheers!
0
 
LVL 14

Assisted Solution

by:canali
canali earned 150 total points
ID: 20368896
Python http://www.python.org/
or
ironPython http://www.microsoft.com/downloads/details.aspx?FamilyID=F9296971-F926-4BE5-9870-F6EE3B1977A3&displaylang=en
perl
http://www.microsoft.com/technet/scriptcenter/scripts/perl/default.mspx?mfr=true
 http://www.activestate.com/Products/activeperl/
and thre are many more (rexx,kixforms,jscript...)
http://www.microsoft.com/technet/scriptcenter/scripts/perl/default.mspx?mfr=true

But old plain batch always run! For PowerShell and ironpython you need .Net framework  2.0 at less , for python and perl you need to copy or install it... I prefer to use standard solution, without adding other sw and batch is right.
Gas

0
 
LVL 3

Author Comment

by:jasef
ID: 20385529
Hi Everyone,
Thanks for your responses. MatrixNZ's suggestions seem most attractive at this stage, so I'll probably focus on those packages first. PowerShell looks like it will be great once it is included in the next generation of MS OS and includes full functionality. Have a great weekend & I appreciate the help!

R's,
Jason
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
A short article about problems I had with the new location API and permissions in Marshmallow
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question