Computer Hope

Microsoft => Microsoft Windows => Windows 10 and 11 => Topic started by: Geek-9pm on August 23, 2018, 09:11:55 AM

Title: Add to the PATH on Windows 10?
Post by: Geek-9pm on August 23, 2018, 09:11:55 AM
This has me confused.
I am using Windows 10 Home 32 bit.
When I find the place where I can edit the PATH, there are two dialog boxz  I do not understand. It seems I can edit just the PATH for  current user. So I tried that and it does not work. Or else I don't understand how it works.

I just want to add one more directory to the end of the path.

Is there a clean and easy guide to how to edit the PATH in Windows 10?  :'(
Title: Re: Add to the PATH on Windows 10?
Post by: Allan on August 23, 2018, 09:45:29 AM
In box for current user or System click on PATH. Then click on Edit. Then Click on EDIT TEXT. Move the cursor to the end of the path, add whatever you want (you can even browse to the desired addition) and when you are done, click on OK
Title: Re: Add to the PATH on Windows 10?
Post by: Mark. on August 23, 2018, 04:24:21 PM
a quick way to get to the Environment Variables window is to run this command; rundll32 sysdm.cpl,EditEnvironmentVariables
Title: Re: Add to the PATH on Windows 10?
Post by: Geek-9pm on August 23, 2018, 09:01:19 PM
Thanks both of you.
After some trial and error I found the problem. I can not edit the itby bity little line of text that is truncated.
So I have to copy and paste into notepad, increase the font size,turn on ward-wrap and then edit the line. Than past eit back.  8)

To verify my work,  I open a CMD box and increase font size
See picture below. I put F:\QB64 on the tail.   :)

Now I can invoke  the EXE files in that folder when I am working in another place.

Title: Re: Add to the PATH on Windows 10?
Post by: Mark. on August 24, 2018, 06:42:58 AM
Reboot the pc and see if it still works.


Doing it that way may only last for the current session.
Changing it in Control Panel will last forever. :)
Title: Re: Add to the PATH on Windows 10?
Post by: Geek-9pm on August 24, 2018, 08:55:12 AM
Mark,
The image shows it after I did a reboot.
I used the method stated by Allan.
It is permanent for that user account.
Title: Re: Add to the PATH on Windows 10?
Post by: Mark. on August 24, 2018, 04:18:22 PM
Cool... was just checking. :)
Title: Re: Add to the PATH on Windows 10?
Post by: Geek-9pm on August 24, 2018, 05:15:58 PM
Thanks Mark.
For some three years I have tried to get accustomed to Windows 10 .
It's still hard to do.   :'(