The Problem
I ran into a licencing issue with an old ASP.NET Web Forms project. The developer license links to the initial install location. Due to the age of the project, I can no longer update the licence key for the new location.
So how do I create a location on a drive that my current machine does not have?
Option 1: Make a new partition on my machine (Not ideal)
Option 2: Google a different solution.
Found the following article from 2014: How to map a local folder to a drive letter in Windows. It looked simple to implement and not a permanent change.
The SUBST command
1. So first things first I needed a root folder to map to.
2. Next up duplicate the folder structure:
3. Next up run subst
The results
There are a couple of things to keep in mind:
- Don't run as an elevated user.
- The drive does not survive a reboot.
- remove the mapping
subst d: /D
Top comments (0)