Inserting Server Name

  • Thread starter Thread starter Carl
  • Start date Start date
C

Carl

I have a sub procedure that contains a path.
The path hard coded reads like this.
"\\Server\FolderShareName"
I would like to run this code on different servers and
have it pick up the server name but I don't know the
variable to insert where "Server" is?
I thought it was "localhost" but this does not work????

Carl
 
Back
Top