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

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -