What is a hostname to use in UNC paths that refers to the current machine in XP?
Except that localhost doesn't work. What will work?
use the actual computername or \\127.0.0.1\share\file.txt
COMPUTERNAME is an environment variable that has the local computer's hostname. So \\%COMPUTERNAME%\Share will work provided the process is running on the local computer.
3 years ago