Originally Posted By: Allen
Just for fun... in batch...
 Code:
set pcname=%computername:~-4%
echo %pcname%


Use Kix though... and consider replacing all your batch with kix too. \:\)


ok, but how to read pcname with bginfo?