in reply to Re: Cannot acces a remote file
in thread Cannot acces a remote file

Actually, using "D$" should work, even without creating a share. Windows provides a "secret" share for every drive where the name of the share is the drive letter followed by a dollar sign. These shares are possibly only available to admins.
$path = '\\\\172.x.x.x\\D$\\foo\\bar\\filename';

Update: Fixed the problem davidrw pointed out.

Replies are listed 'Best First'.
Re^3: Cannot acces a remote file
by davidrw (Prior) on Aug 22, 2005 at 14:56 UTC
    the dollar sign needs escaping, too:
    $path = "\\\\172.x.x.x\\D\$\\foo\\bar\\filename";