Symlinks in Vista

I use symlinks all the time in Linux, and they are very useful. Anyways, I was glad to know they can now be done in Vista/7. I had a dual boot OS, and I had Outlook on both OS’s and wanted 1 Local outlook store. I tried to change Outlooks storage of the ost file, but couldn’t easily edit the path. Enter symlink:

C:\>mklink /d C:\Users\sburke\AppData\Local\Microsoft\Outlook E:\Users\sburke\AppData\Local\Microsoft\Outlook
#mklink pathtolink pathtosourcetarget

The /d switch is for directory.
Looking at the Outlook folder in Explorer, it had a shortcut icon, and going into it, kept the path correct at c:\

This entry was posted in IT and tagged , , . Bookmark the permalink.