How about this shell out... whats wrong?

shell '%compspec% for /F "Skip=2 tokens=2 delims=." %%A in ('ping -n 1 %clientname%') do set TSLoc=%%A'
$location=%TSLoc%
goto tsprtmap

_________________________
Austin Henderson