中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 22:46
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » Delete specific characters
Printable Version  632 / 1
Floor1 jia332 Posted 2009-12-21 17:09
初级用户 Posts 81 Credits 160
Contents of file a.txt:
00-26-B6-47-4C-12
SET WLAN_MACADDR=00-26-B6-09-C6-5C

I want to remove all the - and get
0026B6474C12
SET WLAN_MACADDR=0026B609C65C

How can this be done with a batch file.
Many thanks, waiting online
Floor2 Hanyeguxing Posted 2009-12-21 17:39
银牌会员 Posts 897 Credits 1,039 From 在地狱中仰望天堂
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023