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-25 11:09
中国DOS联盟论坛 » 贴图灌水、文学娱乐专区 » How many people know about the internal commands of Microsoft employees? View 16,465 Replies 70
Floor 31 Posted 2006-07-01 21:28 ·  中国 浙江 台州 玉环市 电信
管理员
★★★★
DOS非常爱好者
Credits 6,215
Posts 2,601
Joined 2006-01-20 13:00
20-year member
UID 49256
Status Offline
Originally posted by electronixtar at 2006-7-1 20:42:
Two clues for everyone:

http://www.cn-dos.net/forum/viewthread.php?tid=9682&fpage=1&highlight=&page=1

http://www.cn-dos.net/forum/viewthread.php?tid=9732&fpag ... You're amazing, you even dug up all his background! The OP was just talking about one way of playing with it, so why is everyone blaming him? So all that's left is a mystery!
Floor 32 Posted 2006-07-02 17:21 ·  中国 浙江 宁波 电信
中级用户
★★
Credits 300
Posts 137
Joined 2005-11-04 02:00
20-year member
UID 44559
Gender Male
Status Offline
Heh, should this count as the style of a great detective, or should it be put in the ranks of the paparazzi?
Floor 33 Posted 2006-07-04 00:28 ·  中国 上海 虹口区 电信
高级用户
★★
Credits 653
Posts 252
Joined 2006-04-16 19:48
20-year member
UID 53939
Status Offline
Originally posted by zjnbwdj at 2006-7-2 17:21:
Heh, should this count as the style of a great detective, or should it be put in the ranks of the paparazzi?


The biggest difference between a great detective and the paparazzi isn't the methods, but the motive~~

Floor 34 Posted 2006-09-06 22:43 ·  中国 浙江 温州 电信
初级用户
Credits 77
Posts 32
Joined 2006-08-29 11:07
19-year member
UID 61509
Gender Male
Status Offline
Hurry up and say it, or maybe you can't either
Floor 35 Posted 2006-09-11 04:52 ·  中国 重庆 渝中区 电信
银牌会员
★★★
Credits 2,165
Posts 730
Joined 2004-04-21 00:00
22-year member
UID 22966
Gender Male
Status Offline
I think it's impossible!
Because the copy command can operate not only on exe but also on bmp, mp3, mpeg... and even other types of files; DOS can't possibly recognize all file headers.
Floor 36 Posted 2006-09-11 07:15 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
DOS can't possibly recognize all files? What do you mean? To a computer, every file is just a string of binary data~~there's no difference at all~

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 37 Posted 2006-09-19 06:47 ·  中国 湖北 武汉 电信
新手上路
Credits 2
Posts 1
Joined 2006-09-19 06:33
19-year member
UID 63042
Status Offline
I'm new here, it should need help from third-party software
Floor 38 Posted 2006-09-23 22:43 ·  中国 北京 联通
金牌会员
★★★★
Credits 2,902
Posts 1,147
Joined 2006-09-21 12:00
19-year member
UID 63324
Gender Male
Status Offline
Interesting!~!!~~You're going to make me lose sleep over this, haha……
Floor 39 Posted 2006-09-25 12:07 ·  中国 河南 洛阳 联通
中级用户
Credits 245
Posts 43
Joined 2003-08-05 00:00
22-year member
UID 8139
Gender Male
Status Offline
Interesting!~!! top
Floor 40 Posted 2006-10-12 11:25 ·  中国 重庆 璧山区 电信
中级用户
★★
Credits 235
Posts 109
Joined 2006-08-24 00:52
19-year member
UID 61161
Gender Male
Status Offline
The OP didn't answer?
I only know this
d:\Copy 002.jpg/b + 001.txt/a 003.jpg
Floor 41 Posted 2006-10-13 21:28 ·  中国 江西 南昌 电信
新手上路
Credits 12
Posts 6
Joined 2006-10-05 02:42
19-year member
UID 64562
Gender Female
Status Offline
There is a parameter inside an EXE file that can be used to calculate its own length. It's explained in "DOS Programming Reference". Based on the file length, you can then split it apart. I think it shouldn't be much of a problem for everyone to write a program for it!
Floor 42 Posted 2006-10-19 03:27 ·  中国 广东 东莞 电信
初级用户
Credits 102
Posts 43
Joined 2006-09-07 05:22
19-year member
UID 62023
Status Offline
Originally posted by lisa888 at 2006-10-13 21:28:
There is a parameter inside an EXE file that can be used to calculate its own length. It's explained in "DOS Programming Reference". Based on the file length, you can then split it apart. I think it shouldn't be much of a pro...



What parameter is it?
Floor 43 Posted 2006-10-20 08:06 ·  中国 上海 教育网
初级用户
Credits 52
Posts 27
Joined 2006-10-06 00:44
19-year member
UID 64647
From ☆逍遥宫☆
Status Offline
Thanks~~~ Didn't expect everyone to still be this enthusiastic~~~~
Floor 44 Posted 2006-10-20 08:25 ·  中国 浙江 台州 天台县 电信
管理员
★★★★
DOS非常爱好者
Credits 6,215
Posts 2,601
Joined 2006-01-20 13:00
20-year member
UID 49256
Status Offline
Reply #43 is obviously impersonating Michael, don't say it was just a coincidence!
Just like qwe123456 imitating qwe1234567!

I was fooled just now and thought expert Michael had replied!
Floor 45 Posted 2007-02-12 07:57 ·  中国 山东 济宁 联通
中级用户
★★★
痴迷DOS者
Credits 456
Posts 570
Joined 2004-10-09 00:00
21-year member
UID 32281
Gender Male
Status Offline
When merging files, just include the file size, and then splitting them later becomes easy.
'QuickBASIC Program
DIM I,J$,K,L
PRINT "Spilt from copied file ";COMMAND$;"?"
OPEN LTRIM$(RTRIM$(COMMAND$)) FOR BINARY AS #1
DO UNTIL EOF(1)
GET 1,,I
GET 1,,L
I=I+L*256
INPUT "File Name:",J$
OPEN LTRIM$(RTRIM$(J$)) FOR BINARY AS #2
FOR K=1 TO I
GET 1,,I
PUT 2,,I
NEXT
CLOSE #2
LOOP
CLOSE #1
PRINT "DONE."
END

Maximum 64k for each separate file
Merge files:
COPY/b A.SZE+A.COM+B.SZE+B.EXE
SZE file generator:
'QuickBASIC Program
DIM SIZES,C
TRIMCMD$=LTRIM$(RTRIM$(COMMAND$))
OPEN TRIMCMD$ FOR BINARY AS #1
SIZES=LOF(1)
CLOSE
OPEN LEFT$(TRIMCMD$,LEN(TRIMCMD$)-3) FOR BINARY AS #1
C=SIZES AND 255
PUT 1,,C
C=(SIZES AND 65280)\256
PUT 1,,C
CLOSE
END


[ Last edited by defrag on 2007-2-12 at 08:16 AM ]
DOS不是万能的,没有DOS是万万不能的
自古系统谁无死?留取胆清照汗青!uploadImages/20035317345478982.png
Forum Jump: