"Check Junctions" - A small explorer add-in/context-menu for discovering NTFS reparse points.

Often when you're using NTFS Reparse Points (Soft Links or "Junctions"), it can be very confusing to figure out which directory is a Junction and which isn't. We use Junctions to make our builds cleaner. In this screen shot there's four junctions to four subsystems that this build is dependent on. This allow us to avoid the evil that is the Company-Wide Subst. "Everyone build on the Y: Drive, ok"? All the csproj's and sln's use relative paths. This little util, if you can call it that, is just a .REG file and .CMD, modelled on Omar's CleanSources, will launch out to a prompt with these instructions. Of course, if you're not using Junctions all over the place, this utility is useless to you. However, this "pattern" could inspire you to make your own rightclickcrap. Enjoy.

CheckJunction.zip

@echo off
cd /d %1
Title "Checking for Junctions..."
@echo Checking for Junctions...
dir %1 | find /i "<JUNCTION>" | more
pause

Checkjunction

Tracked by:
http://spaces.msn.com/members/robbiecoleman/blog/cns!1ptARI1alddrw23L4EMo0HgQ!28... [Trackback]
"SYMLINKs in Win 2k/2003 ! ?" (Yet another Robbie Coleman Blog) [Trackback]
"Creating an Explorer Overlay for NTFS Junctions/ReparsePoints/SoftLinks" (Compu... [Trackback]
"Junctions: Feel the Symlink Love" (James Kovacs' Weblog) [Trackback]
Friday, April 22, 2005 6:46:09 PM UTC
What is so Evil about Subst?
Anonymous
Comments are closed.
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way.