First time here? Check out the site's "greatest hits" or read a post from the archives. Feel free to leave a comment or ask a question, and consider subscribing to the latest posts via RSS or e-mail. Thanks for visiting!
« Computer Zen - Meaning | Main | Awesome - MSN Messenger Buddy List Size ... »

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 10:46:09 AM (Pacific Standard Time, UTC-08:00)
What is so Evil about Subst?
Anonymous
Comments are closed.

Contact

Sponsors

Hosting By

On this page...

Tags

Calendar

<December 2008>
SunMonTueWedThuFriSat
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

Archives

Google Ads