I map a network drive, but after opening the application the network drive must be unmapped again.
I build my application in VS2015 c#.
private void button4_Click(object sender, EventArgs e)
{
IWshNetwork_Class network = new IWshNetwork_Class();
network.MapNetworkDrive("k:", @"\\10.*.*.*\d$\test", Type.Missing, "local\\blabla", "*******");
System.Diagnostics.Process.Start("file:///K:\\gemy.exe");
//This is the closing part
network.RemoveNetworkDrive("k:");
}