Purge environment variable
Posted: Mon Jan 30, 2012 8:20 pm
SetEnvironmentVariable("Vdrive","")
should purge the variable. Instead the variable still exists (with empty assignment).
The equivalent API function works correctly.
For example (at the console) the command SET Vdrive
should display:
---- The environment variable is not defined
and not:
---- Vdrive=
Existing, but empty variables may have unpredictable consequences.
should purge the variable. Instead the variable still exists (with empty assignment).
The equivalent API function works correctly.
For example (at the console) the command SET Vdrive
should display:
---- The environment variable is not defined
and not:
---- Vdrive=
Existing, but empty variables may have unpredictable consequences.