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
 
Ad

Advertisements


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

Similar Threads

Windows XP Average the last 5 Numbers in a row 0
Windows XP WinRar batch file? 0
Windows XP Batch file editing 0
Windows Vista First Impressions of Vista ... #2 2
Windows XP LUA Script in a Batch File 1
Windows XP Output Date Created and Date Modified to a txt file using a batch file 0
Windows XP XP unattended answer file help - I'd like to know some settings/options. 1
Windows XP IP configuration "Netsh" batch file problem ! 1

Top