![]() |
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-09 00:18 |
47,811 topics / 349,895 posts / today 0 new / 48,253 members |
| DOS批处理 & 脚本技术(批处理室) » [Original] ********Escape Encryption and Unescape Decryption******** |
| Printable Version 1,371 / 6 |
| Floor1 s11ss | Posted 2007-11-03 14:44 |
| 银牌会员 Posts 566 Credits 2,098 | |
| Floor2 knoppix7 | Posted 2007-11-05 09:28 |
| 银牌会员 Posts 634 Credits 1,287 From cmd.exe | |
|
Good stuff. Still learning.
|
|
| Floor3 vkill | Posted 2007-11-06 19:24 |
| 金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽 | |
|
I think writing it as <"%~f0" more +130 is not good. If someone deletes some blank lines above or adds some comments of their own, it won't work anymore. I suggest using call goto.
|
|
| Floor4 bjsh | Posted 2007-11-07 02:48 |
| 银牌会员 Posts 621 Credits 2,000 | |
Originally posted by vkill at 2007-11-6 07:24 PM: I've read several posts by the OP; this thing was used in many places; problems really can easily come up; what vkill said makes a lot of sense |
|
| Floor5 s11ss | Posted 2007-12-05 17:39 |
| 银牌会员 Posts 566 Credits 2,098 | |
|
To receive pointers from experts bjsh and vkii, I am really flattered.
But the advantage of this line can't be denied either — it can attach some script code unchanged to the end of the batch file, making the batch code more readable. |
|
| Floor6 vkill | Posted 2007-12-06 20:09 |
| 金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽 | |
Originally posted by s11ss at 2007-12-5 17:39: What you said at the end can be done like this |
|
| Floor7 knoppix7 | Posted 2007-12-06 20:29 |
| 银牌会员 Posts 634 Credits 1,287 From cmd.exe | |
|
Actually, nobody said all the code must be packed into one BAT.
So. splitting it up is fine too . |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |