Search:
Namespaces
Discussions
.NET v1.1
Feedback
Creating and sharing directories
Messages
Related Types
This message was discovered on
ASPFriends.com 'ngfx-io' list
.
Filipe Clemente
Hi,
How can I using VB.Net create a directory in a remote computer assuming that
i have the privileges.
Im using
Directory
.CreateDirectory(\\computer\c$\testing
<file://\\computer\c$\testing> )
When the computer is my machine it works when it is another machine it says
that cand find the path.
Am i doing this the right way?
How can i share a directory trough VB.Net?
Thanks in advance.
Filipe
Portugal
Reply to this message...
=?iso-8859-1?Q?Jo=E3o_Carreiro?=
Hi,
How can I using VB.Net create a directory in a remote computer assuming that
i have the privileges.
Im using
Directory
.CreateDirectory(\\computer\c$\testing
<file://\\computer\c$\testing> )
When the computer is my machine it works when it is another machine it says
that cand find the path.
Am i doing this the right way?
How can i share a directory trough VB.Net?
Thanks in advance.
Filipe
Portugal
Reply to this message...
Mike Rusaw
Filipe -
Did you ever get this figured out? I am haveing the same problem. None of the following work for me:
Directory
.CreateDirectory( @"\\server\share" );
Directory
.CreateDirectory( @"\\\\server\\share" );
Directory
.CreateDirectory( @"\\server\\share" );
Seems like it doesn't really support going across the network. I verified that the destination path has full access for everyone.
Thanks,
--------------------------------
From: Mike Rusaw
Reply to this message...
Stephen Powell
Hi,
I seems to work for me. I am using:
Directory
.CreateDirectory("\\computername\c$\directoryname")
I am running this on a domain controller on a windows 2003 server network and am logged in as Administrator. I have a feeling that it might not work if you dont have AD running, but thats just a guess.
Reply to this message...
System.IO.Directory
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com