For example, instead of having to browse to C:\Users\accountName to access your account folders, you can simply type %HOMEPATH% in the Run command and hit enter to access the same location. There are a number of built-in environment variables on Windows 10 that can come in handy on a number scenarios, especially when creating a script. However, you’re not limited to the default list, you can create your very own variables if you want to have quicker access to certain locations. In this guide, you’ll learn the steps to create custom environment variables on Windows 10. 

How to create custom environment variables

Once you complete the steps, you can test new environment variable by opening the Run command (Windows key + R), typing the name of variable (e.g. %PIX%), and clicking OK. System Properties Custom Environment Variables New user variable If you want to delete a variable, you can follow the same steps, but on step 4, select the variable, and click the Delete button. All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.