An official Batch Programming blog! To Solve the daily problems with windows and fixing them with little notepad scripts. Unlock the Hidden Secrets of Windows, Learn to crack Software via CMD & Make your own Programming tools. Understand to Manipulate your PC via CMD.

Display Box Layout in CMD | Box Function 2.0 By Kvc

We’re back with a new Function related to batch programming – Box Function 2.0 by kvc. As the name of FUNCTION is already revealing its Purpose. But still, I need to Explain – This Function will help you in Displaying a Box Layout in the CMD Console with Different Options. You can Also Change the Type of Box – We hope it will help you in your various projects and results in Awesome creations.

Displaying a BASIC Dialog Box Layout Using BOX FUNCTION 2.0

Print A Dialog Box Layout on CMD | BOX Function 2.0

As the Box Function 1.0 was not really a batch file. It was Actually – compiled feature of Advanced B2E Converter. Which allowed us to add ASCII character box in our batch programs. But, Because of Unknown Reasons, It was Raising a lot of False Alarms in Anti-viruses scans. So, It is better to Drop it and come up with something more advanced.

Plain Box Layout on Console Screen: Demo

Thus, We’ve created an algorithm that can easily calculate and arrange all necessary ASCII characters together to PRINT A BOX on the cmd console with the help of  ‘fn.dllplugin. This is a faster and efficient plugin for Batch programming, thus it has its own significance.

abOUT – bOX fUNCTION 2.0 bY kVC

This 4.19 KB batch code [Box Function v.2.0] will reduce your lot of hard work and headaches. As, Whenever you start creating an awesome Batch program. It takes a lot of time and effort to just show the data in a Right Way on the CMD Console Screen. Which often reduces the effectiveness and impact of your program on the user.

Bpaints by Kvc

This batch Function/extension will help you in managing all that in a specified space and improves the appearance of your program. I’ve used this plugin in one of my best Batch project named Bpaints 1.0. (See the OUTPUT in the above Image)

Also Read:  Easily Create HotSpot with CMD | Hotspot Creator 2.0

Features of BoX Function 2.0

In the Above Image, The box feature that you see there in theTools selection’ menu. That box tool used this Box Function 2.0 to simply Display Box on the CMD console separately, one by one! One of the best things – That its response is very quick. The speed of Function is all because of a better algorithm, better response and better compatibility of fn.dll plugin over other batch plugins.

As, this Box Function 2.0 is not an independent batch file, i.e. you can’t simply copy and paste it somewhere else and start using its feature. For all this – what you have to do is copy the box.bat file along with fn.dll file to your desired folder and then you can use its properties.

First try on, Bpaints by Kvc

Usage – Box Function 2.0

The function takes ‘8 arguments’. “Yes”, you read it Right, “8”, where all are necessary for the various requirements and conditions. You may or may not define them all, but you must define the first 4 arguments in order to get a standard box on the cmd console.

Help Menu

You must have seen the older version of window 1.0, which shows some dialogue box which was fully character-based, you can create similar dialogue boxes using the box 2.0 function in the cmd console.

The Box Showing different time options


The average response time of various Box functions in printing a standard box of size (Rows=20, Columns=60) at (x=5, y=5).

call Box.bat 5 5 20 60
1.0260 ms
2.0190 ms
3.080 ms

So, ver. 2.0 is 30% faster and efficient than ver. 1.0, with 4 new options. Ver.3.0 is 60% faster and efficient than ver. 2.0. With the reduction of a wanted and extra parameter/argument of the function. (Ver. 3.0 is 70% faster than 1.0.)

Just a trial
HASH Code - For Verification - (SHA-256)

Keep learning, keep sharing….
Be happy, spread happiness…


Download Link

Next Post

Previous Post

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2020 TheBATeam

Our Core Values   /   Terms & Conditions   /   Privacy Policy   /   Why Register?

Theme by Anders Norén