windows - Insert character into String in Batch File -


in batch file have line of code.

for /f "eol=; tokens=1,2,3* delims=;/" %%i in ('findstr /v "#" clientsync.cfg') echo %%l 

my current output

y/ic/draft 

is possible output

y:/ic/draft 

i need insert : @ second position. tanks help!

almost done

for /f "eol=; tokens=1-4,* delims=;/" %%i in ('     findstr /v "#" clientsync.cfg ') echo %%l:/%%m 

just add new token separate element need , insert colon , slash consumed new token


Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -