Dec 152017
 
Put stuff into environnment: date, time, string manipulations, file names, calculations, keyboard input, etc. Great for batch files.

Full Description of File


XSET allows you to put EVERYTHING you want in
a variable of the current DOS environment
and use it as if you assigned it the value
with the standard DOS command 'SET'. You will
be able to write very efficient batch
files including string manipulation,
calculation,...


File XSET400.ZIP from The Programmer’s Corner in
Category Batch Files
Put stuff into environnment: date, time, string manipulations, file names, calculations, keyboard input, etc. Great for batch files.
File Name File Size Zip Size Zip Type
CONTENTS 828 364 deflated
DEMO.BAT 12605 3932 deflated
ENVEDIT.BAT 490 236 deflated
FILE_ID.DIZ 285 201 deflated
INTRO 14715 5068 deflated
PATCH.DOS 1885 915 deflated
README 2689 1153 deflated
README.BAT 1174 485 deflated
REGISTER.DOC 1152 514 deflated
REGISTER.EXE 12373 12000 deflated
REGISTER.HOW 3507 1126 deflated
WHATSNEW 8951 3013 deflated
XSET.DOC 52576 15128 deflated
XSET.EXE 48627 47266 deflated
XSET.XXX 47928 47928 stored

Download File XSET400.ZIP Here

Contents of the README.BAT file


XSET allows you to put EVERYTHING you want in
a variable of the current DOS environment
and use it as if you assigned it the value
with the standard DOS command 'SET'. You will
be able to write very efficient batch
files including string manipulation,
calculation,...
@echo off

if not exist XSET.EXE goto NOTFOUND
if not exist XSET.DOC goto NOTFOUND
goto begin

:NOTFOUND
echo:
echo Error: you must be in the directory containing XSET.EXE and XSET.DOC
echo:
pause
goto end

:begin
echo:
echo Do you want to see the documentation on the screen
echo or to print it onto the printer ?

XSET/COLOR HIGHLIGHT/PROMPT " Hit S for screen, P for printer"/UPPER _k KEY "SP"
echo:
goto %_k%

:S screen
more < xset.doc
goto end

😛 printer
:Pecho Please choose printer: P prn
echo 1 lpt1
echo 2 lpt2
echo 3 lpt3
echo 4 lpt4
echo O other
XSET/UPPER _k KEY "P1234O"
if "%_k%" == "O" goto input
set _k=lpt%_k%
if "%_k%" == "lptP" set _k=prn

:print
copy xset.doc %_k% > nul
goto end

:input
set _k=lpt1
XSET/COLOR HIGHLIGHT/DEFAULT/PROMPT " Choose printer: " _k
echo:
if not "%_k%" == "" goto print

:end
set _k=
:Pecho Run the batch file DEMO.BAT to have an example of the power of XSET.


Contents of the README file


XSET allows you to put EVERYTHING you want in
a variable of the current DOS environment
and use it as if you assigned it the value
with the standard DOS command 'SET'. You will
be able to write very efficient batch
files including string manipulation,
calculation,...
@echo off

if not exist XSET.EXE goto NOTFOUND
if not exist XSET.DOC goto NOTFOUND
goto begin

:NOTFOUND
echo:
echo Error: you must be in the directory containing XSET.EXE and XSET.DOC
echo:
pause
goto end

:begin
echo:
echo Do you want to see the documentation on the screen
echo or to print it onto the printer ?

XSET/COLOR HIGHLIGHT/PROMPT " Hit S for screen, P for printer"/UPPER _k KEY "SP"
echo:
goto %_k%

:S screen
more < xset.doc
goto end

😛 printer
:Pecho Please choose printer: P prn
echo 1 lpt1
echo 2 lpt2
echo 3 lpt3
echo 4 lpt4
echo O other
XSET/UPPER _k KEY "P1234O"
if "%_k%" == "O" goto input
set _k=lpt%_k%
if "%_k%" == "lptP" set _k=prn

:print
copy xset.doc %_k% > nul
goto end

:input
set _k=lpt1
XSET/COLOR HIGHLIGHT/DEFAULT/PROMPT " Choose printer: " _k
echo:
if not "%_k%" == "" goto print

:end
set _k=
:Pecho Run the batch file DEMO.BAT to have an example of the power of XSET.


XSET: Extended SET Instruction

(C) 1991,92,93 STERN Marc



Everything you always wanted to put in an environment variable but
were afraid to ask DOS for...

XSET: The easy way to write efficient batch files.

XSET allows you to put EVERYTHING you want in a variable of the
current DOS environment and use it as if you assigned it the value
with the standard DOS command 'SET'. You will be able to write very
efficient batch files including string manipulation, calculation,...

XSET is the most powerful environment variables manipulation
program you ever saw. It also has a very easy and intuitive user
interface (very close to the DOS 'SET' command). It is not a resident
program; it so cannot interfere with any of your other applications.

XSET is fully compatible with MS-DOS (from 3.30), PC-DOS, DR-DOS, 4DOS,
NDOS, Windows, OS/2, ...


XSET has seven major features:


- XSET permits to catch the output of any command (internal or
external) or program and put it into an environment variable.

- XSET has several built-in commands to modify the output of a
program or a string given on the command-line (extract a part of a
string,...)

- XSET has a built-in full floating-point calculation functionality:
You can program incremental loops, input a calculation string and
output the resulting number,...

- XSET can manage variable contents of more than 128 characters (your
path can now be as long as you want)

- XSET has some other built-in commands to give you access to some
system data (date, time, ...)

- XSET has built-in commands to clear all environment or restore a
previously saved one.

- XSET gives you access to high-level user interface input/output
(line-editing, colors, windows, boxes,...).


More than 60 commands to do all what you need.

STERN Marc
Av. de la Basilique 376 bte 19
1080 Bruxelles
Belgium

Tel: +32-2 525.63.32 ( 9h - 16h Central European Time )
+32-2 427.98.52 ( after 18h Central European Time )

E-mail: [email protected] (internet)
>INTERNET:[email protected] (compuserve)
see appendix in file XSET.DOC for other networks




 December 15, 2017  Add comments

Leave a Reply