嘻嘻……改完啦:)
原 REN 和 RENAME 重命名文件名的内部命令已被修改为: RRR 与 RRRRRR,
要改成别的字母还得换算成16进制,太麻烦,谁让REN的R是16进制52呢,
一口气照抄6个52,哈……
(修改版本: MS-DOS 6.22)
关于 REN 与 RENAME 内部命令在这里:
-D C230
0B3B:C230 52 52 52 52 52 52 03 89-20 75 9A 03 52 52 52 03 RRRRRR.. u..RRR.
0B3B:C240 89 20 75 9A 05 45 52 41-53 45 03 01 20 29 9A 03 . u..ERASE.. )..
0B3B:C250 44 45 4C 03 01 20 29 9A-04 54 59 50 45 03 37 21 DEL.. )..TYPE.7!
0B3B:C260 8B 9A 03 52 45 4D 06 04-01 A1 9A 04 43 4F 50 59 ...REM......COPY
0B3B:C270 03 6D 3E 0D 9A 05 50 41-55 53 45 06 F4 1F A5 9A .m>...PAUSE.....
0B3B:C280 04 44 41 54 45 02 6E 35-23 9A 04 54 49 4D 45 02 .DATE.n5#..TIME.
0B3B:C290 D7 35 85 9A 03 56 45 52-02 61 23 8F 9A 03 56 4F .5...VER.a#...VO
0B3B:C2A0 4C 03 65 22 97 9A 02 43-44 03 21 2B 01 9A 05 43 L.e"...CD.!+...C
-Q
REN 与 RENAME 两个DOS内部命令位于MS-DOS 6.22版本的COMMAND.COM的:
DEBUG COMMAND.DAT
-E C230 52 52 52 52 52 52
-E C23C 52 52 52
-W
-Q
-E C230 52 52 52 52 52 52 对应着内部命令:RENAME
( -E C230 "REDTEK" )
(如果把ASCII换成16进制麻烦直接写也一样,如上)
-E C23C 52 52 52 对应着内部命令:REN
Last edited by redtek on 2006-11-9 at 02:29 AM ]
Hehe……It's done:)
The original internal commands REN and RENAME for renaming file names have been modified to: RRR and RRRRRR. It's too troublesome to change to other letters and have to convert to hexadecimal. Who made REN's R be 52 in hexadecimal? Copy six 52s in one go, ha……
(Modified version: MS-DOS 6.22)
Here are the internal commands REN and RENAME:
-D C230
0B3B:C230 52 52 52 52 52 52 03 89-20 75 9A 03 52 52 52 03 RRRRRR.. u..RRR.
0B3B:C240 89 20 75 9A 05 45 52 41-53 45 03 01 20 29 9A 03 . u..ERASE.. )..
0B3B:C250 44 45 4C 03 01 20 29 9A-04 54 59 50 45 03 37 21 DEL.. )..TYPE.7!
0B3B:C260 8B 9A 03 52 45 4D 06 04-01 A1 9A 04 43 4F 50 59 ...REM......COPY
0B3B:C270 03 6D 3E 0D 9A 05 50 41-55 53 45 06 F4 1F A5 9A .m>...PAUSE.....
0B3B:C280 04 44 41 54 45 02 6E 35-23 9A 04 54 49 4D 45 02 .DATE.n5#..TIME.
0B3B:C290 D7 35 85 9A 03 56 45 52-02 61 23 8F 9A 03 56 4F .5...VER.a#...VO
0B3B:C2A0 4C 03 65 22 97 9A 02 43-44 03 21 2B 01 9A 05 43 L.e"...CD.!+...C
-Q
The two DOS internal commands REN and RENAME are located in COMMAND.COM of the MS-DOS 6.22 version:
DEBUG COMMAND.DAT
-E C230 52 52 52 52 52 52
-E C23C 52 52 52
-W
-Q
-E C230 52 52 52 52 52 52 corresponds to the internal command: RENAME
(-E C230 "REDTEK" )
(It's the same if you directly write if converting ASCII to hexadecimal is troublesome, as above)
-E C23C 52 52 52 corresponds to the internal command: REN
Last edited by redtek on 2006-11-9 at 02:29 AM ]