Category : Utilities for DOS and Windows Machines
Archive   : LET12.ZIP
Filename : DEMO.BAT

 
Output of file : DEMO.BAT contained in archive : LET12.ZIP
echo Off
set T=0
LET DemoStartTime=(dateline)
:AskName
LET dummy=(do "YourName")
if %T% == 3 goto Sleep
if `%FName%' == `' goto AskName
if `%MayI%' == `Y' LET name=Fname
if not `%MayI%' == `Y' LET name=(words Title Lname)
cls
echo Well, %name%, this demonstration will show you some of the things
echo that are possible with LET and environment variables. You will see
echo ù how to do simple math,
echo ù how to make a batch file loop a certain number of times,
echo ù how to get the system date and time,
echo ù how to manipulate strings
echo ù how to parse file names
echo ù how to create formatted output
echo ù how to extract information directly from databases
echo ÿ
echo WARNING: before you begin, be sure that your environment space
echo is at least 900 bytes in size -- I'll be needing that much to
echo complete this demonstration. If you are not sure how to do that,
echo please (re)read the documentation, otherwise, you might run into
echo serious problems.
echo ÿ
echo Stop this demonstration now, or
Pause
DEMO-1
:Sleep
Echo Ok, so you're not in a talkative mood. G'night.


  3 Responses to “Category : Utilities for DOS and Windows Machines
Archive   : LET12.ZIP
Filename : DEMO.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/