ENVIRO.DLL - A plugin for Take Command Console

The ENVIRO plugin offers one internal variable, and one variable function.

_ENVCOUNT returns the number of items in the environment.

@ENVIRO returns an environment variable name and content from 1 to %_ENVCOUNT


echo %_envcount

echo %@enviro[10]
ComSpec=C:\Program Files\JPSoft\TCMD13\TCC.EXE

I realize that Vince has the _ENVCOUNT in his 4UTILS plugin, which does the same thing.

I made my own to compliment the @ENVIRO function in my plugin.

I wrote this plugin because I wanted to have access to my environment variables in an "array" like way.

This is not a polished plugin, and I have only Windows XP SP3 to test it on, but it does what I need it to do.

Hope that others find this useful as well. ENVIRO.ZIP can be found via the link below.