There are many ways to access files.
Most files will be on your C: drive for most computers. At work we also have data and files on an H: drive. But you can never assume that the user has or doesn't have the drive and should use logic to handle the case where they don't. The \\ characters are used to denote a network drive. I have some code where I was trying to get some information from a SharePoint site and had to convert the Http:// to a \\ to properly access the file. Someone on your team will have to provide you with the shared network name. Be careful not to hard code this name as it can easily change and it's better to retrieve it from a config or ini file. You should be able to change this in one place and all code that used the drive will still work. This is a coding standard. |