home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
utils1
/
aset13.arj
/
ASET.DOC
next >
Wrap
Text File
|
1994-03-21
|
2KB
|
84 lines
Advanced Set v1.3 for DOS
By K.F.Soft, Denmark, (C) March 1994.
Usage of this program is free. The program may not be sold. It can be
distributed in the original ZIP-file at no charge.
Advanced Set is distributed as is, without any express or implied warranty.
Comments, bugs and suggestions to kf@mmf.ruc.dk
Purpose
Advanced Set enhances the capabilities of the dos SET command.
With ASET it is possible to append to, delete from, rename etc. the strings
in the dos environment.
Furthermore you can use ASET to create variables with lower case letters,
ie. variables unreachable by the set command.
This is also useful in combination with Windows where the environment
variable "windir" determines the directory for the .ini-files. If you set
windir BEFORE starting windows, it won't change it. That way you don't need
to have win.com in each user's windir.
Usage
ASET Show environment and status
ASET [/U] name Show content of name
ASET [/U] name= Delete name
ASET [/U] name=xxxx Set name to xxxx
ASET [/U] /R name1 name2 Rename name1 to name2
ASET [/U] /C name1 name2 Copy name1 to name2
ASET [/U] /A name xxxx Append xxxx to name
ASET [/U] /P name xxxx Prepend xxxx to name
ASET [/U] /D name xxxx Delete xxxx from name
ASET /S Show status
ASET /E Show environment
ASET /H or /? Show this help screen
ASET returns an errorlevel
Errorlevel 0 = OK,
1 = string name not found
2 = no room to insert string name
Examples
ASET /c path oldpath Copies PATH string to OLDPATH.
ASET /d path ;NETWORK Remove the string ';NETWORK' from PATH.
ASET /a temp \02 Appends the string '\02' to the TEMP string.
History
1.0
?/91 First realization of the idea. Used at home.
1.1
10/92 Internal release at Roskilde University, Denmark.
Problems : MS-DOS 5 and 6.
1.2
01/94 Public release.
Fixes : Works with MS-DOS 5 and 6.
1.3
03/94 Changes : Added support for case sensitive naming.
Added /P to prepend a string to a variable