in reply to perl & UNC paths

In addition to what samtregar has to say, I believe that it's not possible to change the "current directory" to an UNC path, as the Windows concept of "current directory" is tied to a volume/drive letter.

Replies are listed 'Best First'.
Re: Re: perl & UNC paths
by halley (Prior) on May 06, 2004 at 14:50 UTC
    To clarify, Windows processes do not have a single "current directory" like Unix processes. Instead, there is a "current drive" and for each drive, there is a "current directory" on that drive.

    Your current drive cannot legally be a UNC share, and a UNC share has no current directory concept. (Though I think I've seen some error-handler circumstances where Windows has confused itself into a state that looks close.)

    --
    [ e d @ h a l l e y . c c ]