Does anyone know a way to change the registry when you are booted into the dos prompt?

Whe are using Ghost to install PC's in our company, but every time we have to set some settings manually (Computername!) It would be nice if I could do this from a boot disk.