I have the following code:
subst /d n:
subst n: C:\Temp
REM build
subst /d n:
subst n: @PreviousFolder
I want to know what is the previous folder assigned to drive N:, so I can restore it in the last line of code (here I use @PreviousFolder, but I don’t know its value).
Maybe something like this: