中国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-11-24 17:23
47,820 topics / 349,938 posts / today 0 new / 48,298 members
DOS批处理 & 脚本技术(批处理室) » 请问如果在文本中抽取指定字符赋值于变量中 Please ask if you want to extract specified characters from text and assign them to variables
Printable Version  7,319 / 32
Floor31 hxuan999 Posted 2006-12-14 22:56
中级用户 Posts 161 Credits 337
Tested again,, "%0 "%~f0" indeed doesn't return later, may I ask why this is?
In addition, in order to let others see this problem, I won't modify the previous content, here I admit my mistake, hehe.
Floor32 qzwqzw Posted 2006-12-15 08:55
银牌会员 Posts 636 Credits 2,343
There is no why ~@$%

Directly calling a batch file in batch processing will not return.

It has been this way since the DOS era.

Unless you use methods like call, start, %comspec% /c, etc. to call, it will return.

So essentially, directly calling a batch file is equivalent to a flow jump jump / goto.

Calling like call is equivalent to interrupt execution int / call.
Floor33 hxuan999 Posted 2006-12-16 03:10
中级用户 Posts 161 Credits 337
Got it. Thanks, hehe
Prev  1 2 3
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023