China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-09 11:11
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Question about FOR extracting variables with "" View 746 Replies 2
Original Poster Posted 2008-08-15 15:58 ·  中国 河北 沧州 任丘市 华通宽带
初级用户
Credits 114
Posts 36
Joined 2007-12-22 17:42
18-year member
UID 106486
Gender Male
Status Offline
This is very urgent

How can I put:

tasklist/svc|find "TermService"

directly into the in () of For?
It’s really urgent. If anyone knows, please help me solve it, many thanks..
Floor 2 Posted 2008-08-15 16:06 ·  中国 江苏 苏州 吴江区 电信
银牌会员
★★★
Credits 1,608
Posts 780
Joined 2007-10-07 10:19
18-year member
UID 99089
Gender Male
Status Offline
The title has nothing to do with your question.
A lot of people know that when putting some special characters into for in, they all need to be escaped, such as the pipe symbol |, the connector & and so on.
Floor 3 Posted 2008-08-15 16:08 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
Forum Jump: