1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ENVIRO

Discussion in 'Plugins' started by Joe Caverly, Jan 26, 2012.

  1. Joe Caverly

    Joined:
    Aug 28, 2009
    Messages:
    698
    Likes Received:
    8
    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
     

Share This Page