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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top