• Starting today August 7th, 2024, in order to post in the Married Couples, Courting Couples, or Singles forums, you will not be allowed to post if you have your Marital status designated as private. Announcements will be made in the respective forums as well but please note that if yours is currently listed as Private, you will need to submit a ticket in the Support Area to have yours changed.

Regedit

jcright

Truth Seeker
May 27, 2004
499
40
51
Michigan
Visit site
✟917.00
Faith
Baptist
Marital Status
Married
Politics
US-Republican
Since you guys did so well on the last one, I thougth I'd ask another question:)

There is a .bat file that I am supposed to run that will install a program on my computer. However, when I go to run it, I got a dos window (which I should get) that says "regedit' is not recognized as an internal or external command, operable program or batch file."

When I go to "start" then "run" and type in "regedit", it comes up with the reg editor. However, when I do it from the command line, I can't gives me the error I listed above. In fact, when I go to run "ipconfig", I get the same problem.

Any ideas?
 
Ok, for this, I suggest you add the location of regedit.exe to your PATH environment variable by doing this:

Right click on my computer >> Properties >> Advanced tab >> Environment Variables >> Look for PATH in your System Variables.

Now, add C:\WINDOWS and C:\WINDOWS\System32 to the list. Close all command prompts, open a new command prompt, type:

path

and check if C:\WINDOWS and C:\WINDOWS\System32 is in the list. If it is, then you should be able to access regedit and ipconfig from the command prompt.

That's what I usually do to solve this problem, unless your admin has locked your access to My Computer properties. Then there's another way through the command prompt. But see if this works first.
 
Upvote 0

jcright

Truth Seeker
May 27, 2004
499
40
51
Michigan
Visit site
✟917.00
Faith
Baptist
Marital Status
Married
Politics
US-Republican
Okay....so how do I add more than one?I selected "New" and typed in Path and C:\Windows. From there I was able to get regedit to work. I tried it again and selected "new" typed Path and C:\Windows\System32 and was able to get ipconfig to work. Then I tried doing "new" and typed Path with the following: C:\Windows; C:\Windows\System32 but only one would work. I thought that it would add another "path" variable when I selected new and typed "path" but it only overwrote it. So, I guess the question becomes: How do I put both of those on one variable line?
 
Upvote 0
You should only have 1 Path Env. variable. If there's an existing, use that instead of the ones your created.

Does it look like this (no space between paths):

Variable--------------Value
Path-----------------C:\Windows\System32;C:\Windows;<other paths>

You might have to restart your machine.
 
Upvote 0