0

My PC has 3 partitions C, U and A. I installed Explorer Plugin in Notepad++, it shows the two partitions properly.
But for some reason the third partition is not there. I have a lot of project files in that partition.

How can I get that partition listed in Explorer Pane ?

enter image description here

enter image description here

Other Info:
All partitions are NTFS
Notepad++ Install Directory: C (OS root is also C)
Notepad++ v6.1.6
Explorer Plugin v5.1

1 Answer 1

1

My guess is it won't show B: either, if you had it.

Try something like subst i: a:\, then see if the plugin displays I: or not.


Edit: Ok, so I see my guess was indeed correct, and the solution above works. As for why this is, well I'm no expert but we all know (or should know) how Windows treats A: and B: differently, so there's still a lot of software out there that expects to see long-term storage on the C: (and greater, so should those be called C++?) drives. No doubt this 'bug' affects the Explorer plugin for Notepad++ as well, which is why it doesn't display the A: and B: drives. SUBSTing either of these with another drive letter creates an alias that obviously the plugin has no problems displaying.

As for the problem of SUBSTed drives not persisting across reboots, there's a slight trick to accomplishing this. You can use the following command:

reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices" /v I: /t REG_SZ /d "\??\A:\" /f

to make the mapping persistent across reboots. Further details available in Wikipedia's article on SUBST, as well as this thread. You can also use the psubst batch file which makes it easy to create normal or persistent SUBSTed drives.

6
  • Awesome, that works. Only problem is that now I have to do it at every boot.
    – Ankit
    Sep 23, 2012 at 8:13
  • It would be better if you can shed more light on the issue, for learning purpose ("teach me how to fish" style ;-)). Like- What was the problem ? and How subst solves it ?
    – Ankit
    Sep 23, 2012 at 8:18
  • @Lamb: Sure, now that I know it works, I've edited my answer to add more details.
    – Karan
    Sep 23, 2012 at 18:35
  • thanks a lot, you said "I'm no expert" but now I think you lied :)
    – Ankit
    Sep 24, 2012 at 3:24
  • One more thing What If I simply change the Drive letter from Disk Management to I:. Will it affect anything else in my system ? Will it solve the persistent problem without this Registry tweaking ?
    – Ankit
    Sep 24, 2012 at 3:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .