#135676 - 2005-03-16 10:57 AM
Shorten PC-Name and set to variable
|
Anonymous
Anonymous
Unregistered
|
Hi@all, we have a new network-environment. In our concept, we use 10 characters for the pc-name. The problem is: our old enterprise-software has to identify the PC from a variable but can only handle 8 characters.
What i want to do is, to read the pc-name (10char), shorten 2 characters and write the new string (8char) to a environment-variable "term". the name is e.g ROCDTWT012 and shoult be shortened to RODWT012. Is there a way to solve that problem? I'm a noob in scripting and kixstart, so is there somebody who has a script or who can tell me how to do?  thanks a lot, bene
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 1198 anonymous users online.
|
|
|