I have to write a text file to a location on a user's local machine. The machine is
on a company network and I previously wrote the file to:
Dim oLocation as String = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) & "\Settings\Settings.txt"
but this proved problematic as when my code looked at the same location on certain machines it found a different folder.
This may well have been caused by the IT department changing things.
What I need is a location that won't change and will always allow a file to be written to it.
Should I write to the C: drive? Do all computers have a C: drive?
What is the best place to write to?