/setenv

Usage:

/SETENV [name [value]]
/SETENV name=value

With two arguments, /setenv will set the value of name to value in the environment. With one argument, /setenv will display the value of name. With no arguments, /setenv will display the value of all environment variables. If the second form is used, spaces around the '=' will not be stripped.

If name was already defined as an internal variable, it will become an environment variable.

When setting a variable, /setenv returns 1 if successful, 0 if not. When listing variables, /setenv returns the number of variables listed.

See: variables, /listvar, /set, /export


Back to index
Back to tf home page
Copyright © 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004, 2005, 2006-2007 Ken Keys