DOS IF

Written by Andrew Smith

chpandrew@globalone.net


DOS IF is a windows command line app that checks a dos enviroment variable, compares it to a argument, 
and does a certain command if it matches up.
For instance, if a person has a multiple config for Network or NoNetwork on their laptop computer, and 
wants certain items loaded in windows when they are on the network, and others loaded when off the 
network. Here is an example of what you would have as a program item in the startup group:

DOSIF CONFIG NETWORK MSMAIL.EXE
	// If variable CONFIG is = to NETWORK, run MSMAIL.EXE

DOSIF CONFIG NONETWORK SLIP.EXE
	//if variable CONFIG is = to NONETWORK, run SLIP.EXE

This application was written in visual basic, and is free to be distributed, as long as the original 
documentation (this) is included, and the author is credited. As far as I know, it only requires the 
DOSIF.EXE file and the VBRUN300.DLL.

Any comments or questions, please internet E-mail me at chpandrew@globalone.net or 
75151,435@compuserve.com

I can also offer you the VB code at request (not much code to it).


Andrew Smith
