Naanan
asked on
Directory.CreateDirectory issues
I have a two part question. If I am trying to access a non shared drive on a server such as
\\server\c$
What is this called (the c$). Also it would appear that I can't programatically create a new directory at
\\server\c$\newDirectory
Obviously if I went in and created a new directory and then shared it I could access it like
\\server\sharedDirectory\n ewDirector y
But I would rather be able to deal with the more ambiguous case using the c$ (I can't for the life of me remember what that is reffered to).
So anyway I am trying to programatically check to see if a directory exists at
\\server\c$\directoryInQue stion
, if it doesn't I want to create a new directory at the location
\\server\c$\directoryInQue stion
Any help (and the term that is used to describe drive access using that $) would be fantastic.
Thanks,
Patrick
\\server\c$
What is this called (the c$). Also it would appear that I can't programatically create a new directory at
\\server\c$\newDirectory
Obviously if I went in and created a new directory and then shared it I could access it like
\\server\sharedDirectory\n
But I would rather be able to deal with the more ambiguous case using the c$ (I can't for the life of me remember what that is reffered to).
So anyway I am trying to programatically check to see if a directory exists at
\\server\c$\directoryInQue
, if it doesn't I want to create a new directory at the location
\\server\c$\directoryInQue
Any help (and the term that is used to describe drive access using that $) would be fantastic.
Thanks,
Patrick
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Correct
But remember if it is running under someone elses it may fail...
If this is for your use only... no problem that I can see
But remember if it is running under someone elses it may fail...
If this is for your use only... no problem that I can see
ASKER