in reply to globing unc path

UNC browsing is blocked in some environments...to help prevent virus spread. in such situations you have to map the UNC to a drive letter, and glob that.
the hardest line to type correctly is: stty erase ^H

Replies are listed 'Best First'.
Re^2: globing unc path
by ikegami (Patriarch) on Nov 08, 2007 at 03:47 UTC

    It's not (just) environmental.

    >dir /b \\tribble05\c$\* AUTOEXEC.BAT ... >perl -le"print for glob shift" \\tribble05\c$\* >perl -le"print for glob shift" c:\* c:\AUTOEXEC.BAT ... >perl -le"opendir $dh, shift; print for readdir $dh" \\tribble05\c$ AUTOEXEC.BAT ...
Re^2: globing unc path
by Anonymous Monk on Nov 08, 2007 at 04:00 UTC
    I don't think it's blocked. I can do a  dir \\machine_name\junk from a command window and see the directory.