|
qb45
高级用户
   
积分 677
发帖 194
注册 2003-9-13
状态 离线
|
『楼 主』:
5合1的命令行软件,请大家使用
使用 LLM 解释/回答一下
只能在dos下运行本程序 ,我想把一些命令合成一个,所以就写了这个东东
编程软件:qbasic4.5
运行环境:DOS
命令 参数
例如:
要打开光区 mtools open cdrom
关闭光区 mtools close cdrom
重新启动 mtools re pc
关机 mtools off pc
提示:本软件已经更新,请在最后的回复里下载新版本!
Last edited by qb45 on 2005-8-25 at 12:26 ]
This program can only run under DOS. I want to combine some commands, so I wrote this thing.
Programming software: qbasic4.5
Running environment: DOS
Command Parameter
For example:
To open the optical drive mtools open cdrom
Close the optical drive mtools close cdrom
Restart mtools re pc
Shut down mtools off pc
Tip: This software has been updated. Please download the new version in the final reply!
Last edited by qb45 on 2005-8-25 at 12:26 ]
附件
1: MTOOLS.rar (2005-8-18 17:35, 29.22 KiB, 下载附件所需积分 1 点
,下载次数: 88)
|

我(QB45)的照片与简历
http://www.programfan.com/club/showbbs.asp?id=197280
|
|
2005-8-18 17:35 |
|
|
fdsiuha
高级用户
    闷
积分 587
发帖 302
注册 2005-7-25
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
我做了CD-ROM的测试,GOOD,但是是否能够让它识别/?参数和没有参数的情况下显示帮助信息了。另外该程序只完成这些功能的话是否可以编成.COM文件?文件体积也“稍微”大了一点,试试汇编?
只是一点点建议,如果能够完善的话就相当不错了!
支持你
I did the CD - ROM test, GOOD, but can it recognize the /? parameter and display the help information without parameters. Also, if this program only completes these functions, can it be compiled into a.COM file? The file size is also "a bit" larger. Try assembly?
Just a little suggestion, if it can be improved, it will be quite good!
Support you
|

欢迎造访DOS的小屋!
http://risky.ik8.com |
|
2005-8-18 20:45 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
不错。但我建议只用一个参数会更方便。
从楼主的名字来看我猜这一定是用QB编出来的吧? exe文件是大了一点,试试用 upx 来减肥。
Not bad. But I suggest using only one parameter would be more convenient.
Judging from the poster's name, I guess this must have been made with QB? The exe file is a bit large, try using upx to lose weight.
|

----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
|
|
2005-8-18 22:30 |
|
|
shj99422
初级用户
 
积分 178
发帖 78
注册 2005-8-9
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
我的系统是2003的有时行有时不行啊
晕
My system is 2003, sometimes it works and sometimes it doesn't. Oh my god
|
|
2005-8-19 12:50 |
|
|
defrag
中级用户
   痴迷DOS者
积分 456
发帖 570
注册 2004-10-9
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
不用!只要用qb71编译并取消codeview和用“必须有BRT库”
No need! Just compile with qb71 and cancel codeview and "must have BRT library"
|

DOS不是万能的,没有DOS是万万不能的
自古系统谁无死?留取胆清照汗青!uploadImages/20035317345478982.png |
|
2005-8-20 18:20 |
|
|
qb45
高级用户
   
积分 677
发帖 194
注册 2003-9-13
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
下面是大家这些热心人的建议,根据建议我更新了软件
我做了CD-ROM的测试,GOOD,但是是否能够让它识别/?参数和没有参数的情况下显示帮助信息了。另外该程序只完成这些功能的话是否可以编成.COM文件?文件体积也“稍微”大了一点,试试汇编?
惨,汇编偶不会,只会用qbasic
识别/?参数和没有参数的情况下显示帮助信息,这个建议不错,已经使用
不错。但我建议只用一个参数会更方便。
这个建议很好,已经使用,用1到9这几个数字可以执行相应的功能
我的系统是2003的有时行有时不行啊
请在DOS下用,这个是DOS软件
不用!只要用qb71编译并取消codeview和用“必须有BRT库”
偶只用qbasic4.5的版本,别的不会
Last edited by qb45 on 2005-8-25 at 12:41 ]
Here are the translated contents:
Below are the suggestions from everyone who is enthusiastic. According to the suggestions, I updated the software
I did a test on CD-ROM, GOOD, but can it recognize the /? parameter and display the help information when there is no parameter. Also, if this program only completes these functions, can it be compiled into a.COM file? The file size is also "slightly" larger. Try assembly?
Oh no, I don't know assembly, I only know how to use qbasic
Recognizing the /? parameter and displaying the help information when there is no parameter, this suggestion is good, it has been used
Nice. But I suggest that using only one parameter will be more convenient.
This suggestion is very good, it has been used, using numbers from 1 to 9 can execute corresponding functions
My system is 2003, sometimes it works and sometimes it doesn't
Please use it under DOS, this is a DOS software
No need! As long as you compile with qb71 and cancel codeview and use "must have BRT library"
I only use the qbasic4.5 version, I can't do anything else
Last edited by qb45 on 2005-8-25 at 12:41 ]
|

我(QB45)的照片与简历
http://www.programfan.com/club/showbbs.asp?id=197280
|
|
2005-8-21 10:26 |
|
|
qb45
高级用户
   
积分 677
发帖 194
注册 2003-9-13
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
根据大家的建议更新了一下!(非常谢谢大家的关心)
使用方法
MTOOLS /参数 [>文件名(可选项)]
/? 或者不加参数 可以显示帮助
/Save CMOS 或者 1 可以保存CMOS
/Load CMOS 或者 2 可以恢复CMOS
/Save MBR 或者 3 可以保存硬盘的MBR
/Load MBR 或者 4 可以恢复硬盘的MBR
/OFF 或者 5 可以关机
/RE 或者 6 可以重启电脑
/Open CD 或者 7 可以打开光驱
/Close CD 或者 8 可以关闭光驱
/Save C 或者 9 可以调用GHOST来保存C盘
(GHOST.EXE应该在同目录或者PATH中有路径)
/Load C 或者10 可以调用GHOST恢复C盘
(GHOST.EXE应该在同目录或者PATH中有路径)
注意,请不要在WIN系统下使用这个软件!
用法举例:
打开光驱
MTOOLS /open CD
或者用 MTOOLS 7 (注意这个无须添加 / 这个符号,以下相同)
关闭光驱
MTOOLS /close CD
或者用 MTOOLS 8 (注意这个无须添加 / 这个符号,以下相同)
保存硬盘的MBR
MTOOLS /SAVE MBR >A:\HDMBR.DAT
如果不加文件名会提示输入文件名,如果不输入文件名则用默认文件名
或者用 MTOOLS 3 >A:\HDMBR.DAT
恢复MBR
MTOOLS /LOAD MBR >A:\HDMBR.DAT
如果不加文件名会提示输入文件名,如果不输入文件名则用默认文件名
或者用 MTOOLS 4 >A:\HDMBR.DAT
调用外部命令GHOST来保存C盘(GHOST.EXE应该在同目录或者PATH中有路径)
MTOOLS /SAVE C >D:\GHOST\C.GHO
如果不加文件名会提示输入文件名,如果不输入文件名则用默认文件名
或者用 MTOOLS 9 >D:\GHOST\C.GHO
调用外部命令GHOST来恢复C盘(GHOST.EXE应该在同目录或者PATH中有路径)
MTOOLS /LOAD C >D:\GHOST\C.GHO
如果不加文件名会提示输入文件名,如果不输入文件名则用默认文件名
或者用 MTOOLS 10 >D:\GHOST\C.GHO
Updated according to everyone's suggestions! (Thank you all very much for your concern)
Usage
MTOOLS /parameter
/? or without parameters can display help
/Save CMOS or 1 can save CMOS
/Load CMOS or 2 can restore CMOS
/Save MBR or 3 can save the MBR of the hard disk
/Load MBR or 4 can restore the MBR of the hard disk
/OFF or 5 can shut down the computer
/RE or 6 can restart the computer
/Open CD or 7 can open the CD drive
/Close CD or 8 can close the CD drive
/Save C or 9 can call GHOST to save the C drive
(GHOST.EXE should be in the same directory or in the PATH)
/Load C or 10 can call GHOST to restore the C drive
(GHOST.EXE should be in the same directory or in the PATH)
Note, please do not use this software under the WIN system!
Usage examples:
Open CD drive
MTOOLS /open CD
or use MTOOLS 7 (Note that this does not need to add the / symbol, the same below)
Close CD drive
MTOOLS /close CD
or use MTOOLS 8 (Note that this does not need to add the / symbol, the same below)
Save the MBR of the hard disk
MTOOLS /SAVE MBR >A:\HDMBR.DAT
If no filename is added, it will prompt to enter the filename, and if no filename is entered, the default filename will be used
or use MTOOLS 3 >A:\HDMBR.DAT
Restore MBR
MTOOLS /LOAD MBR >A:\HDMBR.DAT
If no filename is added, it will prompt to enter the filename, and if no filename is entered, the default filename will be used
or use MTOOLS 4 >A:\HDMBR.DAT
Call the external command GHOST to save the C drive (GHOST.EXE should be in the same directory or in the PATH)
MTOOLS /SAVE C >D:\GHOST\C.GHO
If no filename is added, it will prompt to enter the filename, and if no filename is entered, the default filename will be used
or use MTOOLS 9 >D:\GHOST\C.GHO
Call the external command GHOST to restore the C drive (GHOST.EXE should be in the same directory or in the PATH)
MTOOLS /LOAD C >D:\GHOST\C.GHO
If no filename is added, it will prompt to enter the filename, and if no filename is entered, the default filename will be used
or use MTOOLS 10 >D:\GHOST\C.GHO
附件
1: MTOOLS.rar (2005-8-25 12:42, 30.11 KiB, 下载附件所需积分 1 点
,下载次数: 60)
|

我(QB45)的照片与简历
http://www.programfan.com/club/showbbs.asp?id=197280
|
|
2005-8-25 12:42 |
|
|
rocchapter
中级用户
  
积分 236
发帖 101
注册 2005-11-27
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
mtools?感觉像linux下面的
mtools? It feels like under Linux
|
|
2005-11-27 20:01 |
|
|
dosdosfans
新手上路

积分 2
发帖 1
注册 2010-8-18
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
找了好久终于找到了,顶一下。
After searching for a long time, I finally found it. Give it a thumbs up.
|
|
2010-8-20 02:52 |
|
|
nakay1
初级用户
 
积分 34
发帖 22
注册 2010-11-20
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
谢谢提供,认真学习中
Thanks for the provision, studying earnestly
|
|
2010-12-11 07:55 |
|
|
doslike
版主
        系统收藏家
积分 326
发帖 285
注册 2010-2-22 来自 黑龙江省
状态 离线
|
|
2010-12-12 17:36 |
|
|
Aadmin
中级用户
  
积分 314
发帖 158
注册 2019-2-16
状态 离线
|
|
2019-2-23 09:20 |
|