![]() |
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 02:26 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » Experts please come in: how do I compare whether two strings are the same? |
| Printable Version 849 / 3 |
| Floor1 secowu | Posted 2009-06-12 22:10 |
| 初级用户 Posts 92 Credits 201 | |
|
With the code below, I found during execution that it can't compare them. How should this be handled?
|
|
| Floor2 secowu | Posted 2009-06-12 22:15 |
| 初级用户 Posts 92 Credits 201 | |
|
I made a post yesterday, and it actually got deleted.
|
|
| Floor3 ccwan | Posted 2009-06-12 22:44 |
| 金牌会员 Posts 1,160 Credits 2,725 From 河北廊坊 | |
|
Try changing the single quotes to double quotes.
|
|
| Floor4 secowu | Posted 2009-06-12 23:44 |
| 初级用户 Posts 92 Credits 201 | |
|
After changing them to double quotes, it seems to work.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |