|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
Originally posted by chenall at 2008-12-14 10:14:
查找替换功能好像有些问题..
文件A.TXT内容
Exe =$1\TEST
Exe =$1\TEST2
strw a.txt 0 0 /r /asc:$1 /asc:j: /a
得到的结果为乱码,而且丢失字符
正确的 ...
已经修正,见一楼附件
Originally posted by chenall at 2008-12-14 10:14:
There seems to be some problems with the find and replace function..
Content of file A.TXT
Exe =$1\TEST
Exe =$1\TEST2
strw a.txt 0 0 /r /asc:$1 /asc:j: /a
The resulting result is garbled and characters are lost
Correct...
Has been corrected, see the attachment on the first floor
|
|
2008-12-14 16:10 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
我说怎么前几天用来给grldr改名不行,改后文件大小都变了。
修正后的已没问题。
I said why it didn't work when I renamed grldr a few days ago, the file size changed after renaming. The corrected one is okay now.
|

Windows 一键还原
http://www.yjhy.com |
|
2008-12-14 16:41 |
|
|
chenall
银牌会员
    
积分 1276
发帖 469
注册 2002-12-23 来自 福建泉州
状态 离线
|
|
2008-12-14 21:17 |
|
|
goli2008
中级用户
  
积分 252
发帖 97
注册 2006-9-17
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
大侠,写0出错啊
str 1.exe 0x03 0 /e /hex:0011
碰到00时,不能写入
急用,能否尽快修正?
Last edited by goli2008 on 2008-12-18 at 14:06 ]
Hero, there's an error when writing 0.
str 1.exe 0x03 0 /e /hex:0011
When encountering 00, it can't be written.
Urgent need, can it be corrected as soon as possible?
Last edited by goli2008 on 2008-12-18 at 14:06 ]
|
|
2008-12-18 09:43 |
|
|
hefeilixin
新手上路

积分 13
发帖 9
注册 2008-11-28
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
如执行命令: str 1.txt 0 0 /f /asc:0000 /a
则执行结果为:
Find string At:
0 0x0
4 0x4
请问这个是怎么输出的?
If you execute the command: str 1.txt 0 0 /f /asc:0000 /a
Then the execution result is:
Find string At:
0 0x0
4 0x4
How is this output achieved?
|
|
2008-12-18 10:40 |
|
|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
Originally posted by chenall at 2008-12-14 09:43:
嗯,上面是可以实现,只是如果放在批处理里面要计算字符长度会比较麻烦.
另一个问题,不知程序有没有返回errorleve值?
比如查找,成功返回?失败返回?
#define SUCCESS 0
#define COMMON_USE_ERROR 1
#define OPEN_FILE_ERROR 2
#define PRG_MODIFIED 3
#define FILE_READ_ERROR 4
#define PARAMETER_ERROR 5
#define CREATE_FILE_ERROR 6
#define FILE_WRITE_ERROR 7
#define SRCFILE_DSTFILE_SAME 8
#define USER_CANCEL 9
#define FILE_NOT_EXIST 10
#define FILE_SEEK_ERROR 11
#define STRING_NOT_FOUND 12
Originally posted by chenall at 2008-12-14 09:43:
Well, the above can be achieved, but if it is placed in a batch file, calculating the character length will be more troublesome.
Another question, does the program return an error level value?
For example, for a search, what is returned on success? What is returned on failure?
#define SUCCESS 0
#define COMMON_USE_ERROR 1
#define OPEN_FILE_ERROR 2
#define PRG_MODIFIED 3
#define FILE_READ_ERROR 4
#define PARAMETER_ERROR 5
#define CREATE_FILE_ERROR 6
#define FILE_WRITE_ERROR 7
#define SRCFILE_DSTFILE_SAME 8
#define USER_CANCEL 9
#define FILE_NOT_EXIST 10
#define FILE_SEEK_ERROR 11
#define STRING_NOT_FOUND 12
|
|
2008-12-19 22:31 |
|
|
chenall
银牌会员
    
积分 1276
发帖 469
注册 2002-12-23 来自 福建泉州
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
收下,更新了, 用返回值用于批处理比较方便.
Accepted, updated, it's convenient to use the return value for batch processing.
|

QQ:366840202
http://chenall.net |
|
2008-12-19 23:19 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
杀软报毒的问题,能否进一步改进?
反病毒引擎 版本 最后更新 扫描结果
Panda 9.0.0.4 2008.12.23 Suspicious file
eSafe 7.0.17.0 2008.12.23 Suspicious File
CAT-QuickHeal 10.00 2008.12.23 (Suspicious) - DNAScan
TrendMicro 8.700.0.1004 2008.12.23 PAK_Generic.001
Can the antivirus software improve the issue of reporting viruses further?
Anti-virus engine Version Last update Scan result
Panda 9.0.0.4 2008.12.23 Suspicious file
eSafe 7.0.17.0 2008.12.23 Suspicious File
CAT-QuickHeal 10.00 2008.12.23 (Suspicious) - DNAScan
TrendMicro 8.700.0.1004 2008.12.23 PAK_Generic.001
|

Windows 一键还原
http://www.yjhy.com |
|
2008-12-24 12:46 |
|
|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
Originally posted by lianjiang2004 at 2008-12-24 12:46:
杀软报毒的问题,能否进一步改进?
反病毒引擎 版本 最后更新 扫描结果
Panda 9.0.0.4 2008.12.23 Suspicious file
eSafe 7.0.17.0 2 ...
dos版本还是Win32版本?
上传一个重新编译的Win32版本,看一下是否还报。
Last edited by 19951001 on 2008-12-24 at 23:59 ]
Originally posted by lianjiang2004 at 2008-12-24 12:46:
Can the problem of antivirus software reporting viruses be further improved?
Antivirus engine version Last update Scanning result
Panda 9.0.0.4 2008.12.23 Suspicious file
eSafe 7.0.17.0 2 ...
Is it a DOS version or a Win32 version?
Upload a re-compiled Win32 version and see if it still reports.
Last edited by 19951001 on 2008-12-24 at 23:59 ]
附件
1: strWin32.rar (2008-12-24 23:59, 6.83 KiB, 下载附件所需积分 1 点
,下载次数: 2)
|
|
2008-12-24 23:41 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2008-12-25 09:00 |
|
|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
|
2008-12-26 20:33 |
|
|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
|
2008-12-26 21:09 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 28 楼』:
使用 LLM 解释/回答一下
辛苦了,看来这个问题有些难处理。那就没办法了,只能这样了。
It's hard work. It seems this problem is a bit difficult to handle. Then there's no way, it can only be like this.
|

Windows 一键还原
http://www.yjhy.com |
|
2008-12-26 21:16 |
|
|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
|
2008-12-26 22:10 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2008-12-26 22:20 |
|