I have code that returns the url of a file as follows:
"S:\Documents\Database.accdb"
"S" is a mapped drive
I want to use the computer's name rather than the mapped drive, i.e:
"\\ComputerName\Documents\Database.accdb"
How do I return the name of the computer?
Many thanks
"S:\Documents\Database.accdb"
"S" is a mapped drive
I want to use the computer's name rather than the mapped drive, i.e:
"\\ComputerName\Documents\Database.accdb"
How do I return the name of the computer?
Many thanks