I am competing in a cybersecurity competition and have been a competitor for a while and have built up a script of dos commands I run to secure a system and would like to build it into a GUI rather than a terminal.

I want to do this to sort of get some experience in writing programs.

If it helps, Iwill post the batch script, I just couldn't find a way to link it to the post. I just want a recommendation of what program and language to start this project with so I can have a basis to work from.

  • 1
    Welcome aborad ;-) A great question, with many possible answers. If you don't want to pay money, please add the gratis tag. – Mawg says reinstate Monica Dec 21 '18 at 10:00

I have been using Delphi since the first edition, which I got as a Christmas present about 20 years ago. I agree with @spring 's recommendation, or Lazarus as an open source alternative.

To offer you more choice, Python is an extremely simple to learn language which, as @Gordon says, is like most (all?) in that it can interface with DOS.

It can also generate GUIs, so you might want to look at it.

If you do go for Python, there is no better IDE than the community edition of JetBrains' PyCharm. It will make you much more productive and make debugging easier.


I'm not sure how much DOS that a recent or current Windows operating system will emulate. A 32-bit console is available but it's not DOS.

Basically, just consider getting Visual Basic or Delphi and starting over. In fact a relatively simple Delphi 7 is still available when the current Delphi is purchased. But either Visual Basic or Delphi can easily make GUI's on Windows operating systems. Visual Basic or Delphi can also link to a DLL and use a DLL like a function.


All of the languages I have encountered have a way to execute a shell command (DOS).

Since you are talking about DOS, I assume that you are using windows. If that is the case, VB.NET, C#.NET will be super simple and provide a nice graphical interface for making your GUI. There are also thousands of helpful posts on SO about those languages and very extensive useful documentation from MS. They will also provide you with options to do most windows functions/management/configuration tasks directly instead of using the shell if you want to delve into the MS APIs.

Unfortunately I have not done any GUI design on Linux, so I would have to resort to nodeJS with an HTML front end (not a good solution for security IMHO).


Another simple scripting language is AutoIt.

AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages.

You can use the general scripting side of it to run your batch scripts (or re-write them in AuotIt), while I know of no other free solution with AutoIt's window control abilities, which will be invaluable if you want to automate GUI based Windows apps.

And, of course, you can add a GUI to your AutoIt scripts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.