[WINDOWS] Some tips on SMB file sharing in Windows Vista
#1
Thumbs Up 
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 Smile
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!
Reply
#2
Thanks for sharing. A lot of other threads also mention this. Do a search for Junctions and you will also see them.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
oh sorry. just delete this thread please Smile
Reply

Logout Mark Read Team Forum Stats Members Help
[WINDOWS] Some tips on SMB file sharing in Windows Vista0