Description
This program will displays the time and date in the format specified at command line. Made as a replacement for the 'time' and 'date' commands of MS DOS. I mixed the two commands together and added a lot of features to it. DOS users will find this very useful if they want to display time in Batch file.
Getting A Copy
Bnd 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 Tnd 3.00.A 15.9 KB
Intalling Tnd
Just copy the file "TND.EXE" to the folder "C:\WINDOWS\COMMAND". Or just double click the "Install" script that is provided with it. This will automatically copy the TND.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 "TND" in the dos prompt(sans quotes), the file TND.EXE will be executed.
Uninstalling Tnd
All you have to do to uninstall Tnd is delete the "TND.EXE" file from the "C:\WINDOWS\COMMAND" folder.
Can I get the source of Tnd?
Tnd is distruibuted as an open source program. If you want the source, send a mail to me at . 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 or my site in it. If you make some major changes to this software, I will add that change to Tnd and include your name in the credits.
-t | Shows Time in "Hours:Min AM/PM" Format | ||||||||||||||||||||||||||||||||||||||||||||
-d | Shows Date in "D-M-Y" Format | ||||||||||||||||||||||||||||||||||||||||||||
-dm | Shows Date in "D-M" Format | ||||||||||||||||||||||||||||||||||||||||||||
-md | Shows Date in "M-D" Format | ||||||||||||||||||||||||||||||||||||||||||||
-l | Display day in Long Format - 1st January 2000. | ||||||||||||||||||||||||||||||||||||||||||||
-0 | Add 0 to the number. 1-9-2004 becomes 01-09-2004 | ||||||||||||||||||||||||||||||||||||||||||||
-? | Displays Help screen | ||||||||||||||||||||||||||||||||||||||||||||
-x | Allows eXtended formatting of date and time. | ||||||||||||||||||||||||||||||||||||||||||||
After the '-x' leave a space and type the following | |||||||||||||||||||||||||||||||||||||||||||||
|
Examples
I am assuming that you use windows. If this should be done in dos some changes should be made.
1) To make a folder with today's date. Make a batch file with the below content and run it.
@echo off becho mkdir > c:\windows\temp\tmp$~.bat becho " \"">> c:\windows\temp\tmp$~.bat tnd -x "/M - /D\'" >> c:\windows\temp\tmp$~.bat echo. >> c:\windows\temp\tmp$~.bat call c:\windows\temp\tmp$~.bat
tnd -l >> filename.ext3) Get the time into a file. Run this command and replace "filename.ext" with the name of the file.
tnd -t >> filename.ext
History
V 1.00.A
Very basic build. Internal release only.
V 2.00.A
First Major Public Release as the part of BatchTk.
V 3.00.A
How do I get the latest version of Tnd?
You can visit my website at http://www.oocities.org/binnyva/binny/pro/dos/batch_tk/tnd.html for more information and updates of Tnd. As soon as I make a major public release of Tnd, it will be featured there.
How do I contact the author of Tnd?
You can contact me by sending a email to . You can also visit my website at http://www.oocities.org/binnyva for more information and updates of Tnd.
What if I find a bug?
If you find a bug, please send to the author. Describe the bug in as much detail as possible, and I'll do what I can to help resolve the problem.