Solved

UNC path to automatically obtain the local computer name

Posted on 2014-02-06
2
268 Views
Last Modified: 2014-02-07
The computer here is named cpad is there a way to modify this string to grab the computer name from the local computer so that i don't have to change it for each computer.

\\cpad\C:\Program Files\CRDL\MOVE\Crdl.Move.exe
0
Comment
Question by:mickeyshelley1
2 Comments
 
LVL 16

Accepted Solution

by:
Brian Pringle earned 500 total points
ID: 39839488
Instead of the computer name, use %computername%.
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39839521
try this

msgbox  environ("computername")
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Remote Desktop Shadowing often has a lot of benefits. When helping end users determine problems, it is much easier to see what is going on, what is being slecected and what is being clicked on. While the industry has many products to help with this,…
In this article, I'll explain how to setup a Plex Media Server (https://plex.tv/) on a Redhat (Centos) 7 based NAS with screenshots to help those looking for assistance.  What is Plex? If you aren't familiar with Plex, it’s a DLNA media serv…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question