Computing.Net > Forums > Programming > Setx command issue

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Setx command issue

Reply to Message Icon

Name: MahaPrabhu
Date: May 13, 2009 at 13:00:13 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

Hi,

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



Sponsored Link
Ads by Google

Response Number 1
Name: Valerie (by Garibaldi)
Date: May 13, 2009 at 15:25:19 Pacific
Reply:

At the command prompt or in a batch script use the command Exit


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Setx command issue

SETX DOS command issue www.computing.net/answers/programming/setx-dos-command-issue/17707.html

Batch command issue. Quick Question. www.computing.net/answers/programming/batch-command-issue-quick-question/18842.html

PERL system() command issue www.computing.net/answers/programming/perl-system-command-issue/6491.html