Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

ENVIRO

Aug
1,936
71
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

Examples;

echo %_envcount
47

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.

Joe


https://sites.google.com/site/jlcprogrammingstuff/home/tcc/enviro
 
Back
Top