中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-31 10:06
47,815 topics / 349,930 posts / today 0 new / 48,290 members
DOS开发编程 & 发展交流 (开发室) » Looking for a DOS program under cmd to split and merge files!
Printable Version  8,748 / 21
Floor1 tianzizhi Posted 2006-12-20 06:01
高级用户 Posts 214 Credits 623
Experts in DOS programming, I want a DOS program that splits files under cmd. Put it as a system file in system32. The functions are as follows:
1. Split files with specified size (basic function)
2. Merge split files (this program can be used to merge and also can be merged with the copy command)
3. Audio and video and other files can be played normally after splitting.
4. Customize the storage directory of split files.
Friends who are proficient in programming, it shouldn't be difficult to compile such a program. Help me with this favor, thank you!!!
Floor2 electronixtar Posted 2006-12-20 07:58
铂金会员 Posts 2,672 Credits 7,493
Well, lxmxn is developing this thing, and it might come out soon~~
Floor3 tigerpower Posted 2006-12-20 09:17
中级用户 Posts 99 Credits 377
Using split:

C:>split -a1 -b3m Jay-HairLikeSnow.mp3 发如雪

Attachments
split.zip (8.09 KiB)
Floor4 tianzizhi Posted 2006-12-20 09:25
高级用户 Posts 214 Credits 623
Great guy, thanks.... Is this written by yourself? I can't find it online. Can you write a similar program in C language? I want this code, please help...
Floor5 vkill Posted 2006-12-21 09:50
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
The split is something that's been around for a long time. I remember that what we're using now is still the one released a few years ago, but it's really useful. For merging, you can use copy /b
Floor6 electronixtar Posted 2006-12-21 23:52
铂金会员 Posts 2,672 Credits 7,493
lxmxn is using a version of WinRAR

Floor7 poor Posted 2006-12-23 13:22
初级用户 Posts 36 Credits 160
Thanks
Floor8 陈沫 Posted 2007-01-10 10:34
中级用户 Posts 54 Credits 250
I used to write one with BC3.0, but the source code? Mainly used to 'display Chinese in the character interface', written for programming practice, wait for me to recompile it and put it up later. :P

[ Last edited by 陈沫 on 2008-2-17 at 01:33 AM ]
Floor9 yz1test Posted 2007-03-30 04:57
新手上路 Posts 1 Credits 2
Just what I needed, not sure if it will work, thanks the LZ
Floor10 oilio Posted 2007-05-11 17:29
高级用户 Posts 303 Credits 641
Does split have Chinese parameter explanations? I don't quite understand the English.
Floor11 zhzhh521 Posted 2007-11-13 15:37
新手上路 Posts 1 Credits 2
Great stuff, thanks a lot!
Floor12 332567878 Posted 2007-11-25 00:21
新手上路 Posts 5 Credits 10
I want to, but I don't have points
Floor13 332567878 Posted 2007-11-26 14:28
新手上路 Posts 5 Credits 10
Why do I only get an empty folder when I use it?
Floor14 332567878 Posted 2007-11-28 09:13
新手上路 Posts 5 Credits 10
Split and Merge

@echo off
copy rar.exe split.exe c:\windows\
set /p file=Please enter the file name to split
rar a -m0 %file%
ping 127.0.0.1 -n 4>nul
split %file%.rar --b10000000 --part'.
ping 127.0.0.1 -n 4>nul
if exist part'.aa copy /b 01.jpg+part'.aa part01.jpg
md \01\ \02\ \03\
move part??.jpg \01\ %file% \02\ %file%.rar \03\
Floor15 110cjy Posted 2007-12-12 03:28
新手上路 Posts 2 Credits 4
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023