DOS字符串提取 [英] DOS string extraction
本文介绍了DOS字符串提取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在dos(.bat文件)中,我使用的变量类似于< domain_name> \< User_Role>作为输入.我想提取< domain_name>进入变量.
In dos(.bat file) I am using a variable to like <domain_name>\<User_Role> as a input. I want to extract the <domain_name> into a variable.
如何提取< Domain_Name>放入另一个变量?请提供详细信息.
How to extract the <Domain_Name> into another variable? Please give details.
感谢克里希纳
推荐答案
如何在Windows Bat脚本中提取子字符串重复
Duplicate of How to extract a substring in Windows Bat scripting http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/07375778-79ca-44af-95f0-e9ff40423203
这篇关于DOS字符串提取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文