tags:

views:

50

answers:

1

Using Scripting.FileSystemObject I can get the full path name of a file, but this will always be like "c:\temp\myfile.txt". How can I get the name of the PC, or a network-path to the file like \MyPC\temp\myfile.txt? Is there another class other than Scripting.FileSystemObject I can use?

A: 

You might find this useful.

http://www.robvanderwoude.com/vbstech_network_names_computer.php

Chris Diver