2009-01-09, 22:11
Did you know that Vista supports a virtual file system?
e.g. you can have the following structure
You create a dir C:\pub and share only that folder, then you can have sub-dirs that points to other local drives? E.g. c:\pub\movies can point to G:\video, and c:\pub\series can point to h:\stuff\series?
Well the secret is called Junctions! I'll try explain:
1. Make c:\pub (set security to everyone full access)
2. Share it. Make sure other users (e.g. if your xbox uses another user account, make sure it's able to read)
3. Create junctions in c:\pub
Open command prompt (run as administrator)
Then:
Cd /d C:\pub
mklink /j movies g:\video
mklink /j series h:\stuff\series
Make sure you use /J and not other stuff.
Q: What happens when I delete c:\movies?
A: Nothing, it just deletes C:\movies, and not g:\video
Now take it cool and enjoy some of the well hidden features in Vista. I hear they call this "libraries" in Windows 7, but it's here hidden in Vista
Also, this makes it easier to administer only one file-share instead of a dozen (depending on number of disks etc).
Mind you that everybody able to access c:\pub will retain their permissions when they enter the subfolders, they are not inherited from e.g. g:\video when you access c:\movies!
e.g. you can have the following structure
You create a dir C:\pub and share only that folder, then you can have sub-dirs that points to other local drives? E.g. c:\pub\movies can point to G:\video, and c:\pub\series can point to h:\stuff\series?
Well the secret is called Junctions! I'll try explain:
1. Make c:\pub (set security to everyone full access)
2. Share it. Make sure other users (e.g. if your xbox uses another user account, make sure it's able to read)
3. Create junctions in c:\pub
Open command prompt (run as administrator)
Then:
Cd /d C:\pub
mklink /j movies g:\video
mklink /j series h:\stuff\series
Make sure you use /J and not other stuff.
Q: What happens when I delete c:\movies?
A: Nothing, it just deletes C:\movies, and not g:\video
Now take it cool and enjoy some of the well hidden features in Vista. I hear they call this "libraries" in Windows 7, but it's here hidden in Vista
Also, this makes it easier to administer only one file-share instead of a dozen (depending on number of disks etc).
Mind you that everybody able to access c:\pub will retain their permissions when they enter the subfolders, they are not inherited from e.g. g:\video when you access c:\movies!