/// <summary>
/// Add a shared network drive mapping
/// </summary>
/// <param name="uri">The drive letter (e.g. L:)</param>
/// <param name="unc">The UNC path to the remote drive (e.g. \\MyServer\MyPrinter)</param>
private void MapNetworkDrive(string uri, string unc)
{
ProcessStartInfo info = new ProcessStartInfo("net", "use " + uri + " " + unc);
info.WindowStyle = ProcessWindowStyle.Hidden;
Process.Start(info);
}