UNC path to automatically obtain the local computer name

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
mickeyshelley1Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Brian PringleConnect With a Mentor Systems Analyst II, SCM, ERPCommented:
Instead of the computer name, use %computername%.
0
 
Rey Obrero (Capricorn1)Commented:
try this

msgbox  environ("computername")
0
All Courses

From novice to tech pro — start learning today.