How to permanently subst some folder to drive on Win 10?

SUBST is a command on the DOS and Microsoft Windows operating systems used for substituting paths on physical and logical drives as virtual drives.  This command is not persistent. After each restart must be used again. In DOS can be added in the autoexec.bat. How to do this in the Windows?

    1. Open regedit
    2. go to Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    3. create new String Value
    4. name it as you like
    5. Add as Value Data command subst driveletter: “folder_path”
      example  subst T: “C:\temp”
    6. save