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-06-24 06:50
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How to read the first letter of each line and execute this command. View 5,251 Replies 17
Floor 16 Posted 2006-11-09 00:21 ·  中国 北京 怀柔区 联通
金牌会员
★★★★
Credits 2,902
Posts 1,147
Joined 2006-09-21 12:00
19-year member
UID 63324
Gender Male
Status Offline
What is the significance of what Brother online365 is doing?
Could it be that he wants to hide dangerous commands like format or del /f /s... and wait for the right moment to call them out and run?

If it's about encryption... Now the code written by top experts or open-source organizations can be made public,
and does this batch of code with just a few lines need to be encrypted to prevent people from understanding or seeing? ~:)

[ Last edited by redtek on 2006-11-9 at 12:24 AM ]
    Redtek,一个永远在网上流浪的人……

_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._
Floor 17 Posted 2006-11-09 09:06 ·  中国 湖南 长沙 电信
初级用户
★★
Credits 182
Posts 75
Joined 2006-10-11 00:10
19-year member
UID 65220
Gender Male
Status Offline
Brother redtek misunderstood my meaning..
I just suddenly thought whether this could be solved when I solved the first problem...
Floor 18 Posted 2006-11-09 20:14 ·  中国 北京 联通
金牌会员
★★★★
Credits 2,902
Posts 1,147
Joined 2006-09-21 12:00
19-year member
UID 63324
Gender Male
Status Offline
I'm sorry, brother online365. I'm just curious about everything and always like to know the reasons for problems, haha...

If when the for reads each line of the file, you can also specify (%variable:~intercept a part) (delims=what to split by) and other ways to determine to get a certain part of the data~:)
    Redtek,一个永远在网上流浪的人……

_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._
Forum Jump: