Shane, thanks you!!! Excellent information, I feel like I am getting somewhere now and learning. Yes above what I posted previously is the below script information. Not sure what the 1, 8 stand for in the $m line. Thanks for help!

$compname = @wksta
$userid = @userid

$o = SUBSTR($compname, 1, 3)
$n = SUBSTR($compname, 1, 7)
$m = SUBSTR($compname, 1, 8)
$l = SUBSTR($compname, 1, 9)
$k = SUBSTR($compname, 1, 10)
$i = SUBSTR($compname, 1, 11)
$h = SUBSTR($compname, 1, 12)
$g = SUBSTR($compname, 1, 13)
$u = SUBSTR($userid, 1, 6)
$v = SUBSTR($userid, 1, 8)