Category : Batch File Utilities - mostly for DOS
Archive   : DOSVAR.ZIP
Filename : DOSVAR.DOC

 
Output of file : DOSVAR.DOC contained in archive : DOSVAR.ZIP






DOSVAR



Batch Variable Modifier



User's Manual








Copyright (C) 1994

and

All Rights Reserved

by

-- PINNACLE SOFTWARE --
CP 386 Ville Mont Royal
Quebec, Canada, H3P 3C6






===========================================================================
What Is DosVar?
===========================================================================


DosVar is a program that will modify variables in a batch file. It supports
substrings, justification, zero-stripping and other useful functions.



===========================================================================
Installing DosVar
===========================================================================


If you are simply trying DOSVAR, you can do so in the current directory,
using the START.BAT program to demonstrate the techniques.

For daily use, the DOSVAR.EXE program and the associated files (such as
START.BAT) should be placed in a DOS PATH directory. For an explanation of
the DOS PATH, see your DOS manual.



===========================================================================
How DosVar Works
===========================================================================


DosVar creates a batch file named SETVAR.BAT, which does the actual setting
of the variable. To use DosVar, include it in a batch file, with the
appropriate parameters, followed by a CALL to the batch file SETVAR.BAT.
For example:

@ECHO OFF
DOSVAR /vABCDEFG /nMYVAR /jR /o10 /c$
CALL SETVAR.BAT
ECHO Expected result: $$$ABCDEFG
ECHO Actual result: %MYVAR%

For other examples, run START.BAT.



===========================================================================
Syntax
===========================================================================

For an explanation of DOSVAR's syntax, start up DOSVAR like this:

DOSVAR /?

Alternatively, you can run START.BAT.




  3 Responses to “Category : Batch File Utilities - mostly for DOS
Archive   : DOSVAR.ZIP
Filename : DOSVAR.DOC

  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/