标题: [文本处理] 【已解决】奇怪的问题:批处理FOR /F取不到命令的输出 [打印本页]
作者: BAT221110 时间: 2022-11-14 11:56 标题: 【已解决】奇怪的问题:批处理FOR /F取不到命令的输出
本帖最后由 BAT221110 于 2022-11-14 13:12 编辑
代码如下:- @ECHO OFF
- SET FILENAME=TES124.TXT
-
- ECHO [1]
- FINDSTR /I cFUXaB %FILENAME%
- ECHO.
- ECHO.
- ECHO [2]
- FOR /F "DELIMS=" %%A IN ('FINDSTR /I cFUXaB %FILENAME%') DO (
- ECHO %%A
- )
复制代码
输出为:- [1]
- ont.net/assets/networks/158/default_user_cover_picture/-default.png?1544014580&q
- uot;);"><div class="sc-bczRLJ iaOGwR"></div></div><div class="sc-bczRLJ epDfqe">
- <div class="sc-bczRLJ hNqOOR"><div class="sc-bczRLJ kTTwXX"><div class="sc-bczRL
- J gEUAHU"><div class="sc-bczRLJ evpSTS"><div class="sc-bczRLJ eXGbfv"><div theme
- ="[object Object]" class="sc-bczRLJ sc-jOhDuK cUGDBs tbRZe"><img alt="%{fullName
- } profile picture" class="sc-ZyCDH daPQLY lazyautosizes ls-is-cached lazyloaded"
- data-sizes="auto" data-src="https://hivebrite.com/images/missing/user_avatar/le
- tters/g-large.jpg" src="https://hivebrite.com/images/missing/user_avatar/letters
- /g-large.jpg" data-testid="user-profile-avatar" style="opacity: 1;" sizes="112px
- "></div></div><div class="sc-bczRLJ bEWWMn"><div data-testid="send-message-butto
- n" class="sc-bczRLJ kIRRuM"><a class="sc-bjUoiL jGVTMh" data-testid="react-link-
- element" href="/messaging/conversations/new?recipient_ids=5060893">Send message<
- /a></div></div></div></div></div></div><h3 class="sc-bczRLJ ichHrU">Mr. Georg G
- 枚ttlinger</h3><div class="sc-bczRLJ eNQQej"><div class="sc-bczRLJ sc-1ofgywi-2
- jpEOnq bAroH"><div class="sc-bczRLJ cFUXaB">Address / Adresse </div><div class=
- "sc-bczRLJ hNqOOR">脺bersee, Germany</div></div><div class="sc-bczRLJ sc-1ofgywi
- -2 jpEOnq bAroH"><div class="sc-bczRLJ cFUXaB">Status</div><div class="sc-bczRLJ
- hNqOOR">BricsCAD User</div></div></div></div></div><div class="sc-bczRLJ cHbVNq
- "><div class="sc-1bu9ob3-0 dsvxdi grid--full"><div class="sc-1bu9ob3-1 fwrRIX gr
- id_item one-whole soft hard--top" data-testid="user-trunk-wrapper"><div class="c
- ontainer--centered grid--full push-quadruple--bottom" data-testid="user-profile-
- root"><div class="user-profil__recent-activity soft palm--hard--left lap-and-up-
- -hard--bottom"><button purpose="primary" type="button" class="sc-112xqu1-0 gEcql
- L" style="background-color: rgb(14, 51, 83); border-radius: 3px; color: rgb(255,
- 255, 255); font-family: inherit; font-size: 1.07692rem; font-weight: 600; lette
- r-spacing: 0px; opacity: 1;"><div class="sc-112xqu1-1 feGrUu" style="opacity: 1;
- ">Recent Activity</div></button></div><div class="grid__item lap--one-whole palm
- --one-whole index-module__component--LSGFp palm--hard seven-twelfths soft hard--
- bottom"><div class="index-module__block--h9FdS"><div data-testid="block-data-670
- " class="sc-bczRLJ sc-jIZahH sc-1tbs4bd-0 eXbxxe iVprUZ CjlrS"><div data-testid=
- "block-name" class="sc-bczRLJ sc-1gejvi6-0 lhAiXK fcVhgi"><div class="sc-bczRLJ
- fnmlTI"><div style="overflow: hidden; text-overflow: ellipsis; -webkit-box-orien
- t: vertical; display: -webkit-box; -webkit-line-clamp: 2;"><h2 class="sc-bczRLJ
- kcQDJo">Industry & Knowledge / Branche & Kenntnisse</h2></div><div class
- ="sc-bczRLJ cexkIw"><div class="sc-bczRLJ uEdCV"></div></div></div></div><div cl
- ass="sc-bczRLJ sc-ym3vha-0 bGvZEB bgpONv"><div class="sc-bczRLJ sc-4t36k6-0 jEFZ
- vl"><div class="sc-bczRLJ sc-4t36k6-2 hDpmkn">Branchen / Industries:</div><a cla
- ss="sc-yeoIj kLSNQY" data-testid="react-link-element" href="/people?_Branche=Bau
- firma"><div data-testid="display-attribute-select" class="sc-bczRLJ cwlVZq sc-kY
- WVYA cFRZZU" style="background-color: rgb(255, 255, 255); color: rgb(5, 5, 5); b
- order-color: rgb(5, 5, 5);">Baufirma</div></a></div></div></div></div><div class
- ="index-module__block--h9FdS"><div data-testid="block-data-477" class="sc-bczRLJ
- sc-jIZahH sc-1tbs4bd-0 eXbxxe iVprUZ CjlrS"><div data-testid="block-name" class
- ="sc-bczRLJ sc-1gejvi6-0 lhAiXK fcVhgi"><div class="sc-bczRLJ fnmlTI"><div style
- ="overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; displ
- ay: -webkit-box; -webkit-line-clamp: 2;"><h2 class="sc-bczRLJ kcQDJo">Software</
- h2></div><div class="sc-bczRLJ cexkIw"><div class="sc-bczRLJ uEdCV"></div></div>
- </div></div><div class="sc-bczRLJ sc-ym3vha-0 bGvZEB bgpONv"><div class="sc-bczR
- LJ sc-4t36k6-0 jEFZvl"><div class="sc-bczRLJ sc-4t36k6-2 hDpmkn">BricsCAD Editio
- n:</div><a class="sc-yeoIj kLSNQY" data-testid="react-link-element" href="/peopl
- e?_BricsCAD_Version=Ich%20habe%20noch%20kein%20BricsCAD"><div data-testid="displ
- ay-attribute-select" class="sc-bczRLJ cwlVZq sc-kYWVYA cFRZZU" style="background
- -color: rgb(255, 255, 255); color: rgb(5, 5, 5); border-color: rgb(5, 5, 5);">Ic
- h habe noch kein BricsCAD</div></a></div><div class="sc-bczRLJ sc-4t36k6-0 jEFZv
- l"><div class="sc-bczRLJ sc-4t36k6-2 hDpmkn">BricsCAD Version:</div><a class="sc
- -yeoIj kLSNQY" data-testid="react-link-element" href="/people?_BricsCAD=Ich%20ha
- be%20noch%20kein%20BricsCAD"><div data-testid="display-attribute-select" class="
- sc-bczRLJ cwlVZq sc-kYWVYA cFRZZU" style="background-color: rgb(255, 255, 255);
- color: rgb(5, 5, 5); border-color: rgb(5, 5, 5);">Ich habe noch kein BricsCAD</d
- iv></a></div><div class="sc-bczRLJ sc-4t36k6-0 iPanZx"><div class="sc-bczRLJ sc-
- 4t36k6-2 hDpmkn">Applikation:</div><div data-testid="display-attribute-simple-st
- ring" class="sc-bczRLJ sc-1itjv6a-0 hNqOOR fgbIOX">Allplan</div></div></div></di
- v></div><div class="index-module__block--h9FdS"><div data-testid="block-experien
- ces-experience" class="sc-bczRLJ sc-jIZahH sc-1tbs4bd-0 eXbxxe iVprUZ CjlrS"><di
- v data-testid="block-name" class="sc-bczRLJ sc-1gejvi6-0 lhAiXK fcVhgi"><div cla
- ss="sc-bczRLJ fnmlTI"><div style="overflow: hidden; text-overflow: ellipsis; -we
- bkit-box-orient: vertical; display: -webkit-box; -webkit-line-clamp: 2;"><h2 cla
- ss="sc-bczRLJ kcQDJo">Experience</h2></div><div class="sc-bczRLJ cexkIw"><div cl
- ass="sc-bczRLJ uEdCV"></div></div></div></div><div class="sc-bczRLJ bGvZEB"><div
- class="sc-bczRLJ sc-1lnvmmf-0 jJnmRZ kAHWKw"><div class="sc-bczRLJ cRacfm"><div
- class="sc-bczRLJ jlemDl"><div class="sc-bczRLJ bdDtKC"><div class="sc-bczRLJ sc
- -hKMtZM kfRuzR dwxBkx"><svg aria-hidden="true" focusable="false" data-prefix="fa
- d" data-icon="briefcase" class="svg-inline--fa fa-briefcase sc-gsnTZi cLQuQF" ro
- le="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" color="primary
- " style="height: 40px; --fa-animation-duration:2s; --fa-animation-iteration-coun
- t:infinite; --fa-animation-delay:0;"><g class="fa-duotone-group"><path class="fa
- -secondary" fill="currentColor" d="M320 336c0 8.844-7.156 16-16 16h-96C199.2 352
- 192 344.8 192 336V288H0v144C0 457.6 22.41 480 48 480h416c25.59 0 48-22.41 48-48
- V288h-192V336z"></path><path class="fa-primary" fill="currentColor" d="M464 96H3
- 84V48C384 22.41 361.6 0 336 0h-160C150.4 0 128 22.41 128 48V96H48C22.41 96 0 118
- .4 0 144V288h512V144C512 118.4 489.6 96 464 96zM336 96h-160V48h160V96z"></path><
- /g></svg></div></div><div fonr="h4-regular" class="sc-bczRLJ hNqOOR">Information
- not available</div></div></div></div></div></div></div><div class="index-module
- __block--h9FdS"><div data-testid="block-educations-education" class="sc-bczRLJ s
- c-jIZahH sc-1tbs4bd-0 eXbxxe iVprUZ CjlrS"><div data-testid="block-name" class="
- sc-bczRLJ sc-1gejvi6-0 lhAiXK fcVhgi"><div class="sc-bczRLJ fnmlTI"><div style="
- overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; display
- : -webkit-box; -webkit-line-clamp: 2;"><h2 class="sc-bczRLJ kcQDJo">Education</h
- 2></div><div class="sc-bczRLJ cexkIw"><div class="sc-bczRLJ uEdCV"></div></div><
- /div></div><div class="sc-bczRLJ bGvZEB"><div class="sc-bczRLJ sc-1bjej1j-0 dGNl
- fB eKWziy"><div class="sc-bczRLJ eWYQPB"><div class="sc-bczRLJ sc-1bjej1j-1 kanT
- zA dvRLkd"><svg aria-hidden="true" focusable="false" data-prefix="fad" data-icon
- ="graduation-cap" class="svg-inline--fa fa-graduation-cap sc-gsnTZi GJlVl" role=
- "img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" style="height: 21
- px; --fa-animation-duration:2s; --fa-animation-iteration-count:infinite; --fa-an
- imation-delay:0;"><g class="fa-duotone-group"><path class="fa-secondary" fill="c
- urrentColor" d="M323.9 143.5L161 184.2C121.6 194.1 92.4 225 83.28 263.1C90.83 26
- 8.1 96 277.7 96 288c0 9.953-4.814 18.49-11.94 24.36l24.83 149C110.5 471.1 103 48
- 0 93.11 480H34.89c-9.887 0-17.41-8.879-15.78-18.63l24.83-149C36.81 306.5 32 297.
- 1 32 288c0-13.24 8.047-24.61 19.52-29.47c11.02-50.84 49.58-92.28 101.7-105.3l162
- .9-40.72c8.438-2.25 17.28 3.047 19.41 11.64C337.7 132.7 332.5 141.4 323.9 143.5z
- "></path><path class="fa-primary" fill="currentColor" d="M640 160c0 10.38-6.438
- 19.65-16.05 23.09l-282.7 101.2c-13.73 4.91-28.7 4.91-42.43 0L108.2 216.1C121.9 2
- 00.9 139.1 189.5 161 184.
-
- [2]
复制代码
可见,FINDSTR有输出,但是后面FOR没有取得这个输出,得到了空值。这是怎么回事呢?
楼主经过调试,发现是这个测试文件比较特殊带来的问题。如果修改文件内容,是可以运行成功的。
对于这样的特殊文件,应该如何修改代码,使得可以正确处理呢?
作者: BAT221110 时间: 2022-11-14 11:56
本帖最后由 BAT221110 于 2022-11-14 12:12 编辑
其中的测试文件TES124.TXT内容如下:(只有这一行)- ont.net/assets/networks/158/default_user_cover_picture/-default.png?1544014580");"><div class="sc-bczRLJ iaOGwR"></div></div><div class="sc-bczRLJ epDfqe"><div class="sc-bczRLJ hNqOOR"><div class="sc-bczRLJ kTTwXX"><div class="sc-bczRLJ gEUAHU"><div class="sc-bczRLJ evpSTS"><div class="sc-bczRLJ eXGbfv"><div theme="[object Object]" class="sc-bczRLJ sc-jOhDuK cUGDBs tbRZe"><img alt="%{fullName} profile picture" class="sc-ZyCDH daPQLY lazyautosizes ls-is-cached lazyloaded" data-sizes="auto" data-src="https://hivebrite.com/images/missing/user_avatar/letters/g-large.jpg" src="https://hivebrite.com/images/missing/user_avatar/letters/g-large.jpg" data-testid="user-profile-avatar" style="opacity: 1;" sizes="112px"></div></div><div class="sc-bczRLJ bEWWMn"><div data-testid="send-message-button" class="sc-bczRLJ kIRRuM"><a class="sc-bjUoiL jGVTMh" data-testid="react-link-element" href="/messaging/conversations/new?recipient_ids=5060893">Send message</a></div></div></div></div></div></div><h3 class="sc-bczRLJ ichHrU">Mr. Georg Göttlinger</h3><div class="sc-bczRLJ eNQQej"><div class="sc-bczRLJ sc-1ofgywi-2 jpEOnq bAroH"><div class="sc-bczRLJ cFUXaB">Address / Adresse </div><div class="sc-bczRLJ hNqOOR">übersee, Germany</div></div><div class="sc-bczRLJ sc-1ofgywi-2 jpEOnq bAroH"><div class="sc-bczRLJ cFUXaB">Status</div><div class="sc-bczRLJ hNqOOR">BricsCAD User</div></div></div></div></div><div class="sc-bczRLJ cHbVNq"><div class="sc-1bu9ob3-0 dsvxdi grid--full"><div class="sc-1bu9ob3-1 fwrRIX grid_item one-whole soft hard--top" data-testid="user-trunk-wrapper"><div class="container--centered grid--full push-quadruple--bottom" data-testid="user-profile-root"><div class="user-profil__recent-activity soft palm--hard--left lap-and-up--hard--bottom"><button purpose="primary" type="button" class="sc-112xqu1-0 gEcqlL" style="background-color: rgb(14, 51, 83); border-radius: 3px; color: rgb(255, 255, 255); font-family: inherit; font-size: 1.07692rem; font-weight: 600; letter-spacing: 0px; opacity: 1;"><div class="sc-112xqu1-1 feGrUu" style="opacity: 1;">Recent Activity</div></button></div><div class="grid__item lap--one-whole palm--one-whole index-module__component--LSGFp palm--hard seven-twelfths soft hard--bottom"><div class="index-module__block--h9FdS"><div data-testid="block-data-670" class="sc-bczRLJ sc-jIZahH sc-1tbs4bd-0 eXbxxe iVprUZ CjlrS"><div data-testid="block-name" class="sc-bczRLJ sc-1gejvi6-0 lhAiXK fcVhgi"><div class="sc-bczRLJ fnmlTI"><div style="overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; display: -webkit-box; -webkit-line-clamp: 2;"><h2 class="sc-bczRLJ kcQDJo">Industry & Knowledge / Branche & Kenntnisse</h2></div><div class="sc-bczRLJ cexkIw"><div class="sc-bczRLJ uEdCV"></div></div></div></div><div class="sc-bczRLJ sc-ym3vha-0 bGvZEB bgpONv"><div class="sc-bczRLJ sc-4t36k6-0 jEFZvl"><div class="sc-bczRLJ sc-4t36k6-2 hDpmkn">Branchen / Industries:</div><a class="sc-yeoIj kLSNQY" data-testid="react-link-element" href="/people?_Branche=Baufirma"><div data-testid="display-attribute-select" class="sc-bczRLJ cwlVZq sc-kYWVYA cFRZZU" style="background-color: rgb(255, 255, 255); color: rgb(5, 5, 5); border-color: rgb(5, 5, 5);">Baufirma</div></a></div></div></div></div><div class="index-module__block--h9FdS"><div data-testid="block-data-477" class="sc-bczRLJ sc-jIZahH sc-1tbs4bd-0 eXbxxe iVprUZ CjlrS"><div data-testid="block-name" class="sc-bczRLJ sc-1gejvi6-0 lhAiXK fcVhgi"><div class="sc-bczRLJ fnmlTI"><div style="overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; display: -webkit-box; -webkit-line-clamp: 2;"><h2 class="sc-bczRLJ kcQDJo">Software</h2></div><div class="sc-bczRLJ cexkIw"><div class="sc-bczRLJ uEdCV"></div></div></div></div><div class="sc-bczRLJ sc-ym3vha-0 bGvZEB bgpONv"><div class="sc-bczRLJ sc-4t36k6-0 jEFZvl"><div class="sc-bczRLJ sc-4t36k6-2 hDpmkn">BricsCAD Edition:</div><a class="sc-yeoIj kLSNQY" data-testid="react-link-element" href="/people?_BricsCAD_Version=Ich%20habe%20noch%20kein%20BricsCAD"><div data-testid="display-attribute-select" class="sc-bczRLJ cwlVZq sc-kYWVYA cFRZZU" style="background-color: rgb(255, 255, 255); color: rgb(5, 5, 5); border-color: rgb(5, 5, 5);">Ich habe noch kein BricsCAD</div></a></div><div class="sc-bczRLJ sc-4t36k6-0 jEFZvl"><div class="sc-bczRLJ sc-4t36k6-2 hDpmkn">BricsCAD Version:</div><a class="sc-yeoIj kLSNQY" data-testid="react-link-element" href="/people?_BricsCAD=Ich%20habe%20noch%20kein%20BricsCAD"><div data-testid="display-attribute-select" class="sc-bczRLJ cwlVZq sc-kYWVYA cFRZZU" style="background-color: rgb(255, 255, 255); color: rgb(5, 5, 5); border-color: rgb(5, 5, 5);">Ich habe noch kein BricsCAD</div></a></div><div class="sc-bczRLJ sc-4t36k6-0 iPanZx"><div class="sc-bczRLJ sc-4t36k6-2 hDpmkn">Applikation:</div><div data-testid="display-attribute-simple-string" class="sc-bczRLJ sc-1itjv6a-0 hNqOOR fgbIOX">Allplan</div></div></div></div></div><div class="index-module__block--h9FdS"><div data-testid="block-experiences-experience" class="sc-bczRLJ sc-jIZahH sc-1tbs4bd-0 eXbxxe iVprUZ CjlrS"><div data-testid="block-name" class="sc-bczRLJ sc-1gejvi6-0 lhAiXK fcVhgi"><div class="sc-bczRLJ fnmlTI"><div style="overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; display: -webkit-box; -webkit-line-clamp: 2;"><h2 class="sc-bczRLJ kcQDJo">Experience</h2></div><div class="sc-bczRLJ cexkIw"><div class="sc-bczRLJ uEdCV"></div></div></div></div><div class="sc-bczRLJ bGvZEB"><div class="sc-bczRLJ sc-1lnvmmf-0 jJnmRZ kAHWKw"><div class="sc-bczRLJ cRacfm"><div class="sc-bczRLJ jlemDl"><div class="sc-bczRLJ bdDtKC"><div class="sc-bczRLJ sc-hKMtZM kfRuzR dwxBkx"><svg aria-hidden="true" focusable="false" data-prefix="fad" data-icon="briefcase" class="svg-inline--fa fa-briefcase sc-gsnTZi cLQuQF" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" color="primary" style="height: 40px; --fa-animation-duration:2s; --fa-animation-iteration-count:infinite; --fa-animation-delay:0;"><g class="fa-duotone-group"><path class="fa-secondary" fill="currentColor" d="M320 336c0 8.844-7.156 16-16 16h-96C199.2 352 192 344.8 192 336V288H0v144C0 457.6 22.41 480 48 480h416c25.59 0 48-22.41 48-48V288h-192V336z"></path><path class="fa-primary" fill="currentColor" d="M464 96H384V48C384 22.41 361.6 0 336 0h-160C150.4 0 128 22.41 128 48V96H48C22.41 96 0 118.4 0 144V288h512V144C512 118.4 489.6 96 464 96zM336 96h-160V48h160V96z"></path></g></svg></div></div><div fonr="h4-regular" class="sc-bczRLJ hNqOOR">Information not available</div></div></div></div></div></div></div><div class="index-module__block--h9FdS"><div data-testid="block-educations-education" class="sc-bczRLJ sc-jIZahH sc-1tbs4bd-0 eXbxxe iVprUZ CjlrS"><div data-testid="block-name" class="sc-bczRLJ sc-1gejvi6-0 lhAiXK fcVhgi"><div class="sc-bczRLJ fnmlTI"><div style="overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; display: -webkit-box; -webkit-line-clamp: 2;"><h2 class="sc-bczRLJ kcQDJo">Education</h2></div><div class="sc-bczRLJ cexkIw"><div class="sc-bczRLJ uEdCV"></div></div></div></div><div class="sc-bczRLJ bGvZEB"><div class="sc-bczRLJ sc-1bjej1j-0 dGNlfB eKWziy"><div class="sc-bczRLJ eWYQPB"><div class="sc-bczRLJ sc-1bjej1j-1 kanTzA dvRLkd"><svg aria-hidden="true" focusable="false" data-prefix="fad" data-icon="graduation-cap" class="svg-inline--fa fa-graduation-cap sc-gsnTZi GJlVl" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" style="height: 21px; --fa-animation-duration:2s; --fa-animation-iteration-count:infinite; --fa-animation-delay:0;"><g class="fa-duotone-group"><path class="fa-secondary" fill="currentColor" d="M323.9 143.5L161 184.2C121.6 194.1 92.4 225 83.28 263.1C90.83 268.1 96 277.7 96 288c0 9.953-4.814 18.49-11.94 24.36l24.83 149C110.5 471.1 103 480 93.11 480H34.89c-9.887 0-17.41-8.879-15.78-18.63l24.83-149C36.81 306.5 32 297.1 32 288c0-13.24 8.047-24.61 19.52-29.47c11.02-50.84 49.58-92.28 101.7-105.3l162.9-40.72c8.438-2.25 17.28 3.047 19.41 11.64C337.7 132.7 332.5 141.4 323.9 143.5z"></path><path class="fa-primary" fill="currentColor" d="M640 160c0 10.38-6.438 19.65-16.05 23.09l-282.7 101.2c-13.73 4.91-28.7 4.91-42.43 0L108.2 216.1C121.9 200.9 139.1 189.5 161 184.
复制代码
当然,实际的文件没有这么短,也有很多行,要不然就不会用到FINDSTR了。这里我截断了文件,只保留了和问题有关的部分,方便排查。
作者: Batcher 时间: 2022-11-14 12:45
回复 1# BAT221110
请把bat文件和txt文件打包上传到网盘,我试试。
作者: BAT221110 时间: 2022-11-14 12:55
回复 BAT221110
请把bat文件和txt文件打包上传到网盘,我试试。
Batcher 发表于 2022-11-14 12:45
非常感谢!这是文件地址:- 链接: https://pan.baidu.com/s/158FV4GFYeSerWL-o-z0QIg?pwd=qiju 提取码: qiju 复制这段内容后打开百度网盘手机App,操作更方便哦
复制代码
解压密码为:复制代码
作者: hfxiang 时间: 2022-11-14 13:03
回复 1# BAT221110
变量%%A的长度超过8192个字符,经测试在8192个字符之内有输出
作者: BAT221110 时间: 2022-11-14 13:12
回复 BAT221110
变量%%A的长度超过8192个字符,经测试在8192个字符之内有输出
hfxiang 发表于 2022-11-14 13:03
原来有这个限制!感谢:)
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |