i need a Script that to
grab %computername% and "save" the 5 first sign.
Put the save variable and add a name like s01.
I know the option ~,5
if /i %computername:~0,6%==PCNAME goto PCNAME1

set "%computername%=%Quelle:~,3%"
i dont know how to script it. Have anyone a idea?