@IPSUBNET[n] : Returns the subnet mask of the adapter at index n.

 

Example:

 

echo %@ipsubnet[0]

255.255.255.0