⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 help.txt

📁 1.简介 本程序是用C语言编的一个基于命令行的文件合并分割器。主要用于分割和合并文件
💻 TXT
字号:
                       帮助文档
〈命令简介〉
程序运行后,要求输入[]中的命令
                     Command Menu
to open command menu                         [menu]             
to learn how to use the program              [help]             
to merge files                               [merge]              
to segment a file                            [segment]            
to do batch processing                       [batch]             
to learn more details about this program     [more]               
to clean the screen                          [clean]              
to exit this program                         [quit]           
相应的命令功能已在左边列出
1. 输入merge 出现以下界面
   ************************************************************************
                       File Merge
[1]. to merge all the files in a file folder
[2]. to merge files as you like(customize)
[3]. to back to command menu
Your choice:[ ]                      
选择文件合并的模式
(1)选择1 把一个文件夹中所有文件都合并成一个文件
Please input the path of a file folder.
Notice that there are no other folders in it.
Path of a folder:d:\000625\*.*
Name(path) of the target file:conbine.txt
                merge all the files in a file folder
Please wait ...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Merge success!
请按任意键继续 . . .

(2)选择2 自定义合并文件
Customized Merge
the name(path) of the NO.1 file that you want to merge:1.mp3
the name(path) of the NO.2 file that you want to merge:2.mp3
the name(path) of the NO.3 file that you want to merge:d:\000625\3.mp3
the name(path) of the NO.4 file that you want to merge:0
What do you name(path) the file that will be merged into:d:\000625\conbine.mp3
Confirm?(Y/N)y
Please wait ...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Merge success!
请按任意键继续 . . .

2. 输入segment 出现以下界面
   ************************************************************************
                             File Segment
[1]. equal segment
[2]. customized segment
[3]. to back to command menu
Your choice:[ ]
选择文件分割模式
(1)选择1 把一个文件等分成几等份
Please input the name(path) of source file:d:\000625\conbine.txt
Equal Segment
Total size is: 224B(0.22KB)
How many files do you want to segment?(2)
Confirm?(Y/N)y
Please wait ...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Segment success!
请按任意键继续 . . .

(2)选择2 把一个文件等分成几等份
Please input the name(path) of source file:d:\000625\conbine.mp3
                          Customized Segment
Hint: 1.38M=1413K       10000K=9.76M
Total size is: 4174994(4077.14KB)
Input the size of the NO.1 file that will be segmented(KB):2000
There are 2126994 bytes(2077.14KB)left
Input the size of the NO.2 file that will be segmented(KB):0
There are 0 bytes(0.00KB)left
Confirm?(Y/N)y
Please wait ...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Segment success!
请按任意键继续 . . .

3. 输入batch 出现以下界面
                            Batch Processing
[1]. to see the batch processing grammer
[2]. to do batch processing
[3]. to back to command menu
Your choice:[ ]

选择1 学习批处理语法
选择2 执行批处理

〈批处理语句语法〉
                  Batch Processing Grammer

A. To segment a file into several parts with the same size, input:
       ------------------------------------
        segment /e <filename> <filenumber> 
       ------------------------------------
  For example:segment /e hero.mp3 3
  That is to segment "hero.mp3" into 3 parts(hero.mp3a,hero.mp3b,hero.mp3c).
B. To segment a file in a customized way, input:
       -------------------------------------------------------       
        segment /c <filename> <sizeoffile1 sizeoffile2 ...> 0
       -------------------------------------------------------
  For example:segment /c hero.mp3 1024K 1.2M 0
  That is also to segment "hero.mp3" into 3 parts. If the file is 5.0M, then
  hero.mp3a will be 1.0M, hero.mp3b 1.2M and hero.mp3c 2.5M.
C. To merge several files into one file(customize), input:
       ----------------------------------------------------
        merge /c <file1name> <file2name> <...> into <filename>
       ----------------------------------------------------
  For example:merge /c hero.mp3a hero.mp3b hero.mp3c into hero.mp3
  That is to merge "hero.mp3a","hero.mp3b" and "hero.mp3c" into one file
  named"hero.mp3".
D. To merge all the files in a file folder to one file, input:
       --------------------------------------
        merge /a <filefolderpath> <filename>
       --------------------------------------
  For example:merge /a d:\000625\mp3\*.mp3 comp3.mp3
  That is to merge all the mp3 in mp3 filefolder into one file "comp3.mp3".
E. At the end of your commands never forget to input an "end".
       -----
        end
       -----

A complete example:
	segment /e hero1.mp3 3
	segment /c hero2.mp3 1024K 1.2M 0
	merge /c hero.mp3a hero.mp3b hero.mp3c into hero.mp3
	merge /c d:\000625\mp3\*.mp3 comp3.mp3
	end

〈附注〉
批处理语句没有行数的限制,不同功能的语句可以写在一行,执行同一任务的语句也
可分成几行写
例如:
	semgent /e hero.mp3 3 sement /c hero.mp3 1024K 1.2M 0 end
再如:
	semgent /e
	hero.mp3
	3
	semgent /c hero.mp3
	1024K 1.2M 0 
	merge /c d:\000625\mp3\*.mp3 comp3.mp3
	end
但不可以拆开命令关键字或文件名
如下面的语句是错误的:
	seg ment /e
	her
	o.mp3
	3
	end

〈欢迎使用帮助文档〉

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -