How to sync LiveWriter drafts to Dropbox

Still having problems with synchronization, apparently Dropbox doesn’t detect the new changes made in the junction parent folder.

For me the Windows Live Writer is the best tool writing posts. A simple tutorial can be found here.
I like it because I can start writing the post offline, adding screenshots and save the draft locally. It’s like in Word.

What I would like is to keep this draft documents synced because I want to modify posts and publish them again.
So, I would like to use Dropbox the keep them synced.

Dropbox doesn’t know how to sync other directories besides the root directory choosen at install.
Livewriter only knows to save drafts in user documents folder.

 

So, the trick is to use a tool from Sysinternals called Junction which knows to create directory symbolic link.
In other words, you can create a directory link/shortcut in a folder like it were physically there.

Download Junction and run a command like this:

 

image

 

If you navigate to Dropbox folder:

image

 image

 

And now Dropbox thinks Livewriter is a new directory and starts to sync files.

How to boot from VHD file

If you want to boot a VHD file, you need to run the commands below.  If you don’t know how to create a VHD, it can be done in several ways. The easiest way I found it by creating a VM in VBox and then convert the VM harddisk to VHD (read this post) if you need.

Commands needed to add you VHD in the boot list of Windows 7:

 

This line will return you a guid, make sure you replace “<guid>” with the new one.

C:>bcdedit /copy {current} /d "New VHD Description" 
If your path include spaces, you can do as follow: vhd="[driveletter:]<directory><vhd filename>"
C:>bcdedit /set <guid> device vhd=[driveletter:]<directory><vhd filename> C:>bcdedit /set <guid> osdevice vhd=[driverletter:]<directory><vhd filename> C:>bcdedit /set <guid> detecthal on

.csharpcode, .csharpcode pre{ font-size: small; color: black; font-family: consolas, “Courier New”, courier, monospace; background-color: #ffffff; /*white-space: pre;*/}.csharpcode pre { margin: 0em; }.csharpcode .rem { color: #008000; }.csharpcode .kwrd { color: #0000ff; }.csharpcode .str { color: #006080; }.csharpcode .op { color: #0000c0; }.csharpcode .preproc { color: #cc6633; }.csharpcode .asp { background-color: #ffff00; }.csharpcode .html { color: #800000; }.csharpcode .attr { color: #ff0000; }.csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em;}.csharpcode .lnum { color: #606060; }.csharpcode, .csharpcode pre{ font-size: small; color: black; font-family: consolas, “Courier New”, courier, monospace; background-color: #ffffff; /*white-space: pre;*/}.csharpcode pre { margin: 0em; }.csharpcode .rem { color: #008000; }.csharpcode .kwrd { color: #0000ff; }.csharpcode .str { color: #006080; }.csharpcode .op { color: #0000c0; }.csharpcode .preproc { color: #cc6633; }.csharpcode .asp { background-color: #ffff00; }.csharpcode .html { color: #800000; }.csharpcode .attr { color: #ff0000; }.csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em;}.csharpcode .lnum { color: #606060; }

Convert virtual machine hard disk vdi to vhd using

If you already have VDI hard disks from you  virtual machines and you want to convert them using VBoxManage from VirtualBox. All you need is to install VirtualBox and search for VBoxManage in the installation folder.

VBoxManage capabilities can be found here

Clonehd syntax:

VBoxManage clonehd         <uuid>|<filename> <outputfile>                           [--format VDI|VMDK|VHD|RAW|<other>]                           [--variant Standard,Fixed,Split2G,Stream,ESX]                           [--existing]

Example:

c:Program FilesOracleVirtualBox>VBoxManage clonehd “calcu-mared$Vmswindows xp sp3windows xp sp3.vdi” e:Vhdxpsp3-vs.vhd –format VHD

vbox-clonehd-cmd