Have you ever noticed why you can only type ipconfig into a command prompt and it runs, but you must first switch to its directory when you want to use a command-line program that you downloaded? In this article, we will guide you through the whole procedure to edit the device path in Windows 10 for quick command-line access.

Edit the path variable in Windows 10 for quick command line access

To edit the device path in Windows 10 for quick command line access, follow this procedure step by step.

Click the Search button. Type Advanced system settings in the search bar and choose the option as the following image is showing.

As soon as you will choose the Advanced system settings option, the following dialogue box will appear.

Under the Advanced tab, click the Environment Variables button as highlighted in the above image. After this, the following dialogue box will appear.

Choose the Path option under Variable column in the upper pane and lower pane. Then click the Edit button of the lower pane as highlighted in the above image. As soon as you will click the Edit button, another dialogue box will open like this.

Click the New button as highlighted in the above image and add the path as follows.

Add a path and then click the OK button as highlighted in the above image. Now the added path will be shown every time in the command prompt.

Conclusion

By following this procedure you will be able to edit the device path in Windows 10 for quick command line access.

How to edit the Path variable in Windows 10 for quick command line access

Leave a Reply

Your email address will not be published. Required fields are marked *

*