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-07-02 01:37
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Help] How can I merge files and split files under DOS? View 1,034 Replies 8
Original Poster Posted 2007-12-31 23:07 ·  IANA 局域网IP(Private-Use)
初级用户
Credits 100
Posts 39
Joined 2007-12-09 18:17
18-year member
UID 105156
Gender Male
Status Offline
For example, if I want to merge a.jpg and b.mp3 into c.jpg, and then split c.jpg back into a.jpg and b.mp3, how should I do it?
Floor 2 Posted 2008-01-01 09:58 ·  中国 江苏 无锡 电信
初级用户
Credits 52
Posts 21
Joined 2008-01-01 09:30
18-year member
UID 107370
Gender Male
Status Offline
Splitting: under DOS you can use a pctools utility to split files; under Windows you can use ultraedit
Floor 3 Posted 2008-01-01 10:14 ·  IANA 局域网IP(Private-Use)
初级用户
Credits 100
Posts 39
Joined 2007-12-09 18:17
18-year member
UID 105156
Gender Male
Status Offline
Originally posted by everdos at 2008-1-1 09:58 AM:
Splitting: under DOS you can use a pctools utility to split files; under Windows you can use ultraedit

Where can I find that pctools? Specifically, how do I use it to split them?
Floor 4 Posted 2008-01-01 16:55 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,284
Posts 538
Joined 2002-11-02 00:00
23-year member
UID 129
Gender Male
Status Offline
First package the MP3 into RAR format
copy /b jpg.jpg+mp3.rar filename.jpg

[ Last edited by chishingchan on 2008-1-3 at 08:54 PM ]
Floor 5 Posted 2008-01-01 17:22 ·  IANA 局域网IP(Private-Use)
初级用户
Credits 100
Posts 39
Joined 2007-12-09 18:17
18-year member
UID 105156
Gender Male
Status Offline
Originally posted by chishingchan at 2008-1-1 04:55 PM:
First package the MP3 into RAR format
copy /b jpg.jpg+mp3.rar filename.jpg
I forgot the order, just try it.
copy /b mp3.rar+jpg.jpg filename.rar

What about splitting it?
Floor 6 Posted 2008-01-02 01:40 ·  中国 重庆 渝中区 电信
银牌会员
★★★
Credits 2,165
Posts 730
Joined 2004-04-21 00:00
22-year member
UID 22966
Gender Male
Status Offline

DOS's own commands probably can't do file splitting; the result of copy/b is inseparable. Without auxiliary information, there's simply no way to find the merge point
Floor 7 Posted 2008-01-02 21:21 ·  IANA 局域网IP(Private-Use)
初级用户
Credits 100
Posts 39
Joined 2007-12-09 18:17
18-year member
UID 105156
Gender Male
Status Offline
Originally posted by bush at 2008-1-2 01:40 AM:

DOS's own commands probably can't do file splitting; the result of copy/b is inseparable. Without auxiliary information, there's simply no way to find the merge point

Then what tool should be used to do it? How?
Floor 8 Posted 2008-01-03 20:53 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,284
Posts 538
Joined 2002-11-02 00:00
23-year member
UID 129
Gender Male
Status Offline
Originally posted by no9ronaldo at 2008-1-1 05:22 PM:

What about splitting it?



After combining, it's an image file that can be opened and viewed directly. Rename it to RAR and extract it, and you'll get the MP3.
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
no9ronaldo +2 2008-01-03 21:27
Floor 9 Posted 2008-01-03 21:29 ·  IANA 局域网IP(Private-Use)
初级用户
Credits 100
Posts 39
Joined 2007-12-09 18:17
18-year member
UID 105156
Gender Male
Status Offline
Originally posted by chishingchan at 2008-1-3 08:53 PM:



After combining, it's an image file that can be opened and viewed directly. Rename it to RAR and extract it, and you'll get the MP3.

Great, this is exactly what I was looking for! Learned something new!
Forum Jump: