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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top