Something like this might get you started.
echo %@word[1,%@execstr[net use | ffind /k/m/t"\\computer\share"]]
On Wed, Jul 21, 2010 at 2:57 PM, Rod Savard <> wrote:
> Is there a built in function that will determine if a UNC path is mapped,
> and return the drive letter if so?
>
> Sort of the opposite of how @TRUENAME will return the UNC path of a mapped
> drive letter.
>
> Thanks
>
>
>
>
>
--
Jim Cook
2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Monday.