Junction Points

And in the process of showing Wayne Vista and geeking out some more, I noticed that in DOS the hidden folders that can’t be accessed and are in some cases obviously for backward compatibility are labeled [JUNCTION] instead of [DIR]. They are NTFS junction points

Compra Minocin Online

, which act like folders (or files) but are pointers to other folders (or files). Also, I had set Explorer to show hidden files and folders, but for some reason that didn’t cascade to the user profile folder, so explicitly turning that on made the hidden stuff visible even from Vista in Explorer.

There is a switch for DIR that shows just junctions, so using /AL and /S redirected to a text file with > will give you a list of all of them on the machine.

There’s also a DOS command, MKLINK, for creating junctions. Who knew.

It’s NTFS security that makes the junctions inaccessible. They don’t need to be; they’re shortcuts to something you can get at elsewhere.

Very cool.

1 Comment

  1. Niraj Pathak

    E:\>dir *.*

    Volume in drive E is WIN_VISTA
    Volume Serial Number is 0C01-C866

    Directory of E:\

    23/10/08 11:29 PM Autorun.inf
    28/09/08 10:51 PM E Drive
    17/10/08 07:14 PM FILM
    18/11/08 09:52 PM khr
    15/04/08 11:28 PM 32,768 My Antivirus.exe
    20/11/08 06:22 PM Nahi Khulega
    19/11/08 02:47 PM New Folder
    02/11/06 01:00 PM Niraj
    04/12/08 10:44 PM 0 NKP.txt
    22/06/08 10:52 AM 587,315,356 OFFICE 2007.nrg
    27/11/08 03:59 PM System Volume Information
    31/10/08 08:08 PM TC
    3 File(s) 587,348,124 bytes
    9 Dir(s) 11,774,386,176 bytes free

    E:\>rd niraj

    Volume in drive E is WIN_VISTA
    Volume Serial Number is 0C01-C866

    Directory of E:\

    23/10/08 11:29 PM Autorun.inf
    28/09/08 10:51 PM E Drive
    17/10/08 07:14 PM FILM
    18/11/08 09:52 PM khr
    15/04/08 11:28 PM 32,768 My Antivirus.exe
    20/11/08 06:22 PM Nahi Khulega
    19/11/08 02:47 PM New Folder
    04/12/08 10:44 PM 0 NKP.txt
    22/06/08 10:52 AM 587,315,356 OFFICE 2007.nrg
    27/11/08 03:59 PM System Volume Information
    31/10/08 08:08 PM TC
    3 File(s) 587,348,124 bytes
    9 Dir(s) 11,774,386,176 bytes free

    E:\>_
    ——————————————–

    So what you understand with all these?

Comments are closed.