Setx command issue

May 13, 2009 at 13:00:13
Specs: Windows XP

I am using the following to set an environment variable -
SETX test_env "C:\Tester1"

The test_env is correctly set, but the command prompt would not close. I tried executing the command directly in a command prompt rather than invoking a batch file that contains the SETX command. But in both the cases the command prompt hangs .

Can someone please tell me a way of closing the command prompt

See More: Setx command issue

Report •

May 13, 2009 at 15:25:19
At the command prompt or in a batch script use the command Exit

Report •
Related Solutions

Ask Question