BD 2.00.A : The Dir Replacement
Download BD 2.00.A 17.9 KB
Introduction
What is BD?
Why was this program written?
Comparisons
How is BD better than DIR?
How is BD better than other DIR replacing programs?
Getting a copy
Enough reading! How do I get BD?
How do I install BD?
How do I Uninstall BD?
Can I get the source of BD?
Infomation
Some cool tricks.
Command Line Options
Colour Settings
What's New?
Feedback
How do I get the latest version of BD?
How do I contact the author of BD?
What if I find a bug?
Intoduction
What is BD?
BD is a `dir` replacement. What this program does is that it displays the contents of the specified folder in a colourful and more understandable way. BD displays files of different types in different colours, letting you see at a glance which files are executable, which are documents, directories etc.
BD helps to cross the boundary between the starkness of DOS and the color of Windows and is a perfect utility for anyone who is experienced with Windows but wishes to start working in DOS.
Completly Free Softwares
Why was this program written?
The most commenly used command in dos is the 'dir'. The limitations of this command promted me to create a "dir" of my own. The Result - Binny's DIR or BD.
Comparisons
How is BD better than DIR?
To be absolutly frank, BD is not better than DIR. DIR is a very powerful command and can be used to do many things with the command line options it has. BD is not as powerful as that, but it is much more user friendly. It shows all the files colour coded according to its extensions. For example, a folder will be show in yellow colour while a executable file is shown in blue colour. This will make it easier to understand the display.
The BD Command
C:\DOS>bd Directory listing of C:\DOS |
| BINNY | UTILS | APPS |
DOCUME~1 | DRIVERS | BATCHS |
| WANTEDS | UNIX |
DOS.TXT | DOS.BAT |
| |
|
C:\DOS>_ |
90% of the time we use the DIR command we just want to know what is there in that directory. We don't want to acces any of the more complicated functions of the DIR command. BD was designed to do just that.
Another advantage of BD is that it just display the needed infomation. DIR displays a lot more option which makes it more difficult to find what you need.
DIR command
Volume in drive C is WINDOWS
Volume Serial Number is 0E69-16EF
Directory of C:\DOS
. <DIR> 09-24-03 4:08p .
.. <DIR> 09-24-03 4:08p ..
BINNY <DIR> 09-24-03 4:08p Binny
UTILS <DIR> 09-24-03 4:08p Utils
APPS <DIR> 09-24-03 4:08p Apps
DOS TXT 626 09-24-03 5:14p dos.txt
DOCUME~1 <DIR> 09-24-03 4:09p Documentation
DRIVERS <DIR> 09-24-03 4:09p Drivers
BATCHS <DIR> 09-24-03 4:11p Batchs
DOS BAT 837 04-05-04 1:26p DOS.BAT
WANTEDS <DIR> 09-24-03 11:49p Wanteds
UNIX <DIR> 01-20-04 12:52a Unix
BINNY TXT 0 06-08-04 1:56a Binny.txt
3 file(s) 1,463 bytes
10 dir(s) 1,540.07 MB free
|
How is BD better than other DIR replacing programs?
There are many other DIR replacers. But a problem commen to all of them is that they try to be very visually appealing and display a lot of graphics. They are very good but these extra graphics will affect the speed with which the command is executed. If you want speed you will have to use BD.
Getting a copy
Enough reading! How do I get BD?
BD can be downloaded
FREE of charge from my site. Just follow the instructions given in the readme file to install it. The instructions are given below.
Download BD 2.00.A 17.9 KB
How do I intall BD?
Just copy the file "BD.EXE" to the folder "C:\WINDOWS\COMMAND". Or just double click the "Install" script that is provided with it. This will automatically copy the BD.EXE file to "C:\WINDOWS\COMMAND" folder. Why? Whenever you run a command from DOS prompt, it searches in this directory to find if any program with that command is found. If found, that program will be executed. So when you type "BD" in the dos prompt(sans quotes), the file BD.EXE will be executed.
How do I Uninstall BD?
All you have to do to uninstall BD is delete the "BD.EXE" file from the "C:\WINDOWS\COMMAND" folder.
Information
Some cool tricks.
If you rename the BD.EXE file in the "C:\WINDOWS\COMMAND" folder you can change the command name. For example, if you rename BD.EXE to LS.EXE, you will have to type "ls" in the DOS prompt to run the BD program. You can rename this to just "D.EXE" so that you have to type less.
Another trick is available for UNIX users. Run BD with /ls option and you will get the display using UNIX's LS command's colouring scheme - Folders have blue colour, executable have green colour etc.
BD can display small Icons for the files if run with /i option.
Command Line Options
Just run BD with /? option to see all the Command Line options.
| /f | Shows only files |
| /d | Shows only directories |
| /i | Shows icons |
| /h | Show hidden files |
| /s | Show system files |
| /nocolor | Shows content without colour |
| /noext | Don't display the file extensions |
| /v | Vertical Display |
| /l OR /ls | Shows linux 'ls' command's colours. |
| /? OR /help | Shows the help screen |
The user can set the colour scheme for any file type. All this should be given as command line options ever time BD is executed. The command line options are shown below.
| File Type | Extension | Text Colour Setting | Background Setting |
| Folder | - | /dir <color> | /dir_back <color> |
| Executables | exe,bat,com | /exe <color> | /exe_back <color> |
| Text Files | txt,doc | /txt <color> | /txt_back <color> |
| HTML Files | htm | /html <color> | /html_back <color> |
| Pictures | jpg,gif,bmp,tga,png | /pics <color> | /pics_back <color> |
| Music | mp3,mid,wav | /music <color> | /music_back <color> |
| Scripts | vbs,js,pl,cpp,c,jav,py,tcl,xml,mak,vb,php,h | /source <color> | /source_back <color> |
| Video Files | mov,asf,dat,avi,mpg,mpe | /video <color> | /video_back <color> |
| Compressed | zip,cab,tar | /zip <color> | /zip_back <color> |
| Others | *.* | /others <color> | /others_back <color> |
Example : If you want to see all exe files in green colour and music files in white colour with gray background, then you should give the command -
bd /exe green /music white /music_back lightgray
Now if you like those settings better than the default settings, you should make a batch file with the below content in it.
bd %1 %2 %3 %4 %5 %6 %7 %8 %9 /exe green /music white /music_back lightgray
and save it to a file called(for example) "ls.bat" in C:\Windows\Command folder. Now every time to type 'ls' in command prompt, you will call BD with the specified command line options.
Colour Settings
You can use any of these colours to replace the '<color>' in the above
list. The colours are NOT case-sensitive so WHITE and whItE are the same. You can also give the colour code in the place of the colour. For example, '
bd /pics blue' is same as '
bd /pics 1'.
One thing to remember is that you should give only the first 8 colors in the chart as the background color. You can give any colour as the text colour.
Another problem with this option is that you can give the same colour as background and as text colour. For eg. if you give "bd /zip red /zip_back red" all you see is a red strip. You will not be able to read the text in the background whose colour is same as the text colour.
| Colour Name | Colour Code | Use as Background |
| BLACK | 0 | Yes |
| BLUE | 1 | Yes |
| GREEN | 2 | Yes |
| CYAN | 3 | Yes |
| RED | 4 | Yes |
| MAGENTA | 5 | Yes |
| BROWN | 6 | Yes |
| LIGHTGRAY | 7 | Yes |
| DARKGRAY | 8 | No |
| LIGHTBLUE | 9 | No |
| LIGHTGREEN | 10 | No |
| LIGHTCYAN | 11 | No |
| LIGHTRED | 12 | No |
| LIGHTMAGENTA | 13 | No |
| YELLOW | 14 | No |
| WHITE | 15 | No |
Can I get the source of BD?
BD is distruibuted as an open source program. You can get the source from the author's website
http://www.geocities.com/binnyva. I compiled this program with Borland C++ compiler - I don't think it will have any problems if compiled in other compilers. If you want to make any change to the software feel free to do so. But please give credit where credit is due and keep my name in it. If you make some major changes to this software, I will add that change to BD and include your name in the credits.
Whats New?
These are the changes in V 2.00.A
- Added support for diffrent attributes(System, Hidden and Read Only). It can be shown in a varity of background colours.
- The colours of all file types can be configured using the command line.
- Each filetype can have a background colour.
- Gave option to exit program at every screen fill.
- Giving a wild card as argument will not show the folders.
- Lots of changes in the code.
- Lowered the file size of bd.exe
Feedback
How do I get the latest version of BD?
You can visit my website at
http://www.geocities.com/binnyva for more information and updates of BD. As soon as I make a major public release of BD, it will be featured there.
How do I contact the author of BD?
You can contact me by sending a email to
moc.liamg@avynnib(Reverse this text to get my Email address). You can also visit my website at
http://www.geocities.com/binnyva for more information and updates of BD.
What if I find a bug?
If you find a bug, please send
moc.liamg@avynnib(Reverse this text to get my Email address) to the author. Describe the bug in as much detail as possible, and I'll do what I can to help resolve the problem.
Awards

- 4/5.