Hi Ciaran,
I have a similar reqwuirement so i tried your solution below for creating
the directory but couldn't.
I have added myself under administrator group of hydhtc91670 m/c and have
wriiten the following code to create NewFolder_123 on that m/c.
Directory.CreateDirectory(@"\\hydhtc91670\mpIH\mpI H_deployables\NewFolder_123");
I am getting following error
"The network path was not found".
Does the issue lie with permission i need on that particular m/c. If so what
extra permissions i need to have on that m/c.
Rgrds,
Earla
"Ciaran O''Donnell" wrote:
You should be able to access the folder as
\\servername\sharename\foldername\newfolder
So do:
Directory.CreateDirectory(@"\\servername\sharename \foldername\newfolder");
--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
"Omar" wrote:
Hi,
i want to create a folder in remote computer in c# without using WMI.
any help?
thanks.