D
Dre'
I need to create a batch file that looks at the first "5" characters
of a %COMPUTERNAME% to determine what command to run next in a batch
file.
ie. if %COMPUTERNAME% == "PC-WS-xxx" goto load99
if %COMPUTERNAME% == %COMPUTERNAME% works for all computers but I
would like only a subset of computer names to run certain parts of the
batch file.
Is there a wildcard or syntax that would work for this scenario?
Thanks in advance.
of a %COMPUTERNAME% to determine what command to run next in a batch
file.
ie. if %COMPUTERNAME% == "PC-WS-xxx" goto load99
if %COMPUTERNAME% == %COMPUTERNAME% works for all computers but I
would like only a subset of computer names to run certain parts of the
batch file.
Is there a wildcard or syntax that would work for this scenario?
Thanks in advance.