Archive for January, 2009
All of Windows Live Writer’s posts, both drafts and published posts, are stored in the “My Weblog Posts” in your Documents folder. Currently, there is no option to change this, however, there is a way you can fool Live Writer into thinking it’s still there! This means that you could save them onto a separate partition/hard drive, or even onto a network share (like on your WHS should you have one). Let me show you how you accomplish this.
If you use this post to change your My Weblog Posts to a network share and that network share goes offline, Writer will not open. At all! Similarly, if you change it to removable drive and that drive isn’t plugged in! So don’t whinge about Writer not opening. You can fix it though by going to your Documents folder and deleting the My Weblog Posts folder that’s there (it should have the shortcut arrow if it’s the one pointing to another location).
I should also note that there may be other niggles that I haven’t seen yet, so this really is an “at your own risk” job and I take no responsibility if you screw this up
A couple of things to say before we get going, saving them to a network share will only work in Windows Vista or Windows 7. You can save them to a different partition or hard drive in XP, but that is all. Because of this, I will split this post into two sections, Windows XP, and Windows Vista/7. You will also need Administrative rights to be able to do this.
Windows Vista/Windows 7
Start off by completely moving your My Weblog Posts folder to the location of your choice, whether it be locally to that PC or on a network share. Make sure the original folder no longer exists. For this example, I will be putting it on my network share on my Windows Home Server.
- Click Start
- Type “cmd” but don’t hit enter just yet! Right click the cmd.exe that appears in the search and Run as Administrator:
- In the command prompt, type “mklink /D “<YourCurrentPostsFolder>” “<YourNewPostsFolder”” where <YourCurrentPostsFolder> is the old location (eg, C:\Users\<user>\Documents\My Weblog Posts\) and <YourNewPostsFolder> is where you’ve moved it to (eg, \\server\share\My Weblog Posts\). An important thing to remember is to include quotes around the two folder locations, so it should look like this:
- Hit enter. As long as you are able to access that share, then it will work in Writer as if they were still in the same place they always have been.
This same method could be used if you want to have your posts on a different drive/partition on your local machine, it doesn’t just have to be for network shares.
Now, as mentioned, you can’t do this for network shares in XP, but you can move it to another location on your PC. Start off by completely moving your My Weblog Posts folder to the location of your choice. Make sure the original folder no longer exists.
- Download Junction from the Microsoft Sysinternals site. Extract to the root of your C drive.
- Open a cmd window as an administrator. If you’re in a limited account, go to Start > All Programs > Accessories and right click on the Command Prompt shortcut then Run As.. and let an administrator log in. If you have an administrative account, just do Start > Run > “cmd” > enter.
- In the command prompt, type “c:\junction.exe “<YourCurrentPostsFolder>” “<YourNewPostsFolder”” where <YourCurrentPostsFolder> is the old location (eg, C:\Documents and Settings\<user>\My Documents\My Weblog Posts\) and <YourNewPostsFolder> is where you’ve moved it to (eg, d:\data\My Weblog Posts\).
- Hit enter. This will now create you the link to your new Posts folder.
And there you have it, how to fool Live Writer into letting you use another folder location. One final reminder, please read the disclaimer at the top of this post!