EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How do I delete a Network mounting point?

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
Posted: 09/28/2009 19:20:26
by Gavin McKay (Standard support level)
Joined: 09/01/2009
Posts: 48

Hi there,

Is anyone able to give me the correct format to delete a network mounting point? I am using C# and can successfully add using the following:

mCbFs.AddNetworkMountingPoint("z:;myserver;sharename", false, CbFsNetworkSymLinkFlags.nsmAllowMapAsDrive);

but when I try and delete using:

mCbFs.DeleteMountingPointEx("z:;myserver;sharename", true);

I get:

"The system cannot find the file specified"

Any ideas? I've also tried

mCbFs.DeleteMountingPointEx("z:", true);


mCbFs.DeleteMountingPointEx("\\\\myserver\\sharename", true);

same result though - error.
Posted: 09/29/2009 01:00:02
by Volodymyr Zinin (EldoS Corp.)


mCbFs.DeleteMountingPointEx("z:;myserver;sharename", false);
mCbFs.DeleteMountingPointEx("z:", false);
Posted: 09/29/2009 01:12:57
by Gavin McKay (Standard support level)
Joined: 09/01/2009
Posts: 48

Thanks - that worked perfectly! :)



Topic viewed 1293 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!