Windows 10 I would like to know in a batch file how to indentify computer name by using the first 5 of the name and the last 2 of the name then call runcmd

Joined
Aug 8, 2019
Messages
1
Reaction score
0
I would like to know in a batch file how to indentify computer name by using the first 5 of the name and the last 2 of the name then call runcmd

If /i COMPUTERNAME == "abcde 15" call runcmd:


what do I use as a wild card for those blank spaces
 
Back
Top