Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to "unset" environment variables?

2,210 views
Skip to first unread message

Michael Spoonauer

unread,
Mar 20, 1999, 3:00:00 AM3/20/99
to
Does anyone know the proper syntax for undefining any environment variables
that have been set by a MS-DOS batch file?

Is it simply...

set {variable_name}=

...or is there a better or safer way to do this?

Thanks,
Mike

-------

Michael V. Spoonauer
spo...@voicenet.com

me

unread,
Mar 21, 1999, 3:00:00 AM3/21/99
to
It's realy that simple!
Denny

Michael Spoonauer <spo...@voicenet.com> wrote in article
<xMYI2.176$JS....@news3.voicenet.com>...

Michael Gregg

unread,
Mar 21, 1999, 3:00:00 AM3/21/99
to
That is the only way to clear "unset" an environment variable.

set PATH=

will clear your PATH statement...

Michael Spoonauer <spo...@voicenet.com> wrote in message
news:xMYI2.176$JS....@news3.voicenet.com...

0 new messages