Quick BASIC 4.5 Batch Utilities
My FoxPro software installations are currently MS-DOS batch driven. To create features not found in normal MS-DOS batch commands, I wrote the following QuickBasic 4.5 utilities. To see how these utilities work, download one of my FoxPro freeware applications and examine it's INSTALL.BAT file. Feel free to use them to create your own batch installations. Also feel free to list me and/or Raymond W. Marron in any credits. There are, however, no warranties expressed or implied. Enjoy!
LINPUT v1.0.3 - Program to prompt the user for an environment variable.
Usage: LINPUT [/d] "prompt" xxx
/d
Create directory stored in xxx. Optional.
"prompt" Text to appear as a prompt for
user input.
xxx
DOS Environment variable to store user input. A previous value of YES or NO
invokes Y/N prompt.
The batch file C:WINDOWS\TEMP\TEMP.BAT is created. A batch CALL to this file
will set xxx equal to new user value. If, /d is specified, the batch file will
also create directory stored in xxx. If LINPUT is executed without parameters,
the screen is cleared with white text foregound, blue background color.
XD v1.0 - Similar to CD, but also changes drive letter.
Usage: XD x:\xxx
x:\ Drive
xxx Directory Path.
Copyright © 2005 Dennis Allen. My email address is: dennis
dennisallen.com.
This web page was last updated 04/03/08