To map a local folder as a drive letter:

  1. open File Explorer
  2. choose the This PC
  3. choose MAP NETWORK DRIVE from the menu
  4. choose a drive letter
  5. under the folder, provide the local folder path
to map the c:\temp folder to the drive letter of choice
\\localhost\c$\temp

Once done, go back to File Explorer and rename the newly mapped drive to any name you want.