Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 help and support Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.


Go Back   Vista Forums > Vista Newsgroup Archive > Misc Newsgroups > PowerShell

RB

Vista - Junction, Symbolic Link and a Custom Dir Function

 
 
08-20-2006   #1 (permalink)
Brian JT


 

Junction, Symbolic Link and a Custom Dir Function

I have been playing with Vista and it uses a lot of junctions. If I open
cmd and go to C:\user\<username>\and type dir /ah. The Junctions show up
fine and after the Name of the Junction the real path is displayed.

Scott Hanselman wrote a function called edir
(http://www.hanselman.com/blog/Making...owerShell.aspx
that works great for showing which objects are Junctions, but how do I get
the path the Junction is pointing to?

Also Vista introduces Symbolic Links,
http://msdn.microsoft.com/library/de...olic_links.asp ,
which seem very similar to Junctions. Symbolic Links show up as SYMLINKD in
cmd's dir but as Junctions when using Scott's edir. I could not find
Symbolic Links in the Vista SDK FileAttributes section. Is there any easy
way to add the Symbolic Links to the attribute column.

Thanks,

Brian JT


My System SpecsSystem Spec
 

Thread Tools


Similar Threads for: Junction, Symbolic Link and a Custom Dir Function
Thread Forum
Create Symbolic Link and Move Files and Subfolders older than 30 D PowerShell
symbolic link not working via share ? Server General
Symbolic Link Server General
Can not create symbolic link to a file - symlink to directory is O Vista General
Junction points and symbolic links Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51