That's nifty, Chris. Too bad it doesn't show the UNC for the mapped drives. Assume this works even without XCMD turned on? For those who do have XCMD, an alternative which does give the UNC is: filename diskinfo pipe "net use" ;

I thought it might be handy to write a %GetUNC function-style macro, it turns out Art Carpenter has already written one: http://www2.sas.com/proceedings/forum2008/023-2008.pdf. : )