D
Dre'
I need to create a batch file that looks at the first "5" characters
of
a %COMPUTERNAME% to determine where to go in a batch file.
ie. if $COMPUTERNAME% == PC-AD-xxx goto load99
if %COMPUTERNAME% == %COMPUTERNAME% works for all computer names but I
would like to select a subset of computer names to run the batch file.
Is there a wildcard or syntax for this scenario?
Thanks in advance!
of
a %COMPUTERNAME% to determine where to go in a batch file.
ie. if $COMPUTERNAME% == PC-AD-xxx goto load99
if %COMPUTERNAME% == %COMPUTERNAME% works for all computer names but I
would like to select a subset of computer names to run the batch file.
Is there a wildcard or syntax for this scenario?
Thanks in advance!