A Forum all about DOS Batch
It is currently 21 Nov 2017 07:34

All times are UTC-06:00

Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 11 Dec 2016 04:47 

Joined: 22 Nov 2016 13:46
Posts: 8
Hi all,
I am new in batch scripting and I would like to ask you
if there is any way to get graphical interface such as

I would like something like the attached image and only the menu to be refreshed.

Thanks in advance for your answers

image.png [ 7.43 KiB | Viewed 1078 times ]
PostPosted: 11 Dec 2016 04:50 

Joined: 06 Sep 2013 21:28
Posts: 764
Location: Virginia, United States
Well, that's just ASCII art, so yes. Multiple colors in the same line was cracked years ago. ... 11#5344911

PostPosted: 07 Jan 2017 14:32 

Joined: 30 Oct 2016 09:48
Posts: 7
More specifically this is art ansi, until windows 98 support art ansi was loaded in the config.sys file, writing the following line:


For windows 2000 onwards there is currently ansicon.exe

When installed ansicon you can read an ansi file with the following command:

Type art.ans

I recently posted a method to convert art ansi into batch

It is necessary for art to contain characters compatible batch.


To create files in .ans format you have this application:


PostPosted: 10 Jan 2017 06:27 

Joined: 02 May 2016 18:20
Posts: 303
This is probably not at all what you had in mind, but it is what came into my mind when I heard "Graphic Interface in Batch" :)

Below is 3dGUI.bat. It was primarily meant to be mouse-controlled (drag left-right to scroll among items, click to select an item), but keys are also supported (left/right to scroll, SPACE to select the item in focus). If you get tired of the "swinging" effect of the items while scrolling, press RETURN to disable/enable.

The script is now included in the cmdgfx archive. See

Screens (it obviously looks better when actually moving):


3dgui.bat 3dgui2.dat

The script takes as input a data file of the form:
Code: Select all
backgroundimage ; scale
image ; scale ; text ; action

Example file with 3 items:
img\dos_shade4.pcx ; 45
emma.txt ; 9      ;Emma;      echo Emma
fract.txt ; 9     ;Fractal;   echo Fractal
glass.txt ; 9     ;Glass;     echo Glass

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC-06:00

Who is online

Users browsing this forum: No registered users and 18 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited