If the server name always ends in the last 4 chars as dc## then you could use something like:

$server=left(%logonserver%,-4)
use M:\ "\\" + $server + "fnp01\data"

A better way would be to use RegEx, but I am so weak in it, I could't begin to give you any advice on it.

Curious, how do you know for a fact that they will authenticate with the local dc? Maybe a local subnet lookup would be a better guide to location.
_________________________
(... better days ahead)