|
英雄不色
中级用户
  
积分 221
发帖 33
注册 2003-3-22
状态 离线
|
『楼 主』:
关于DOS批处理的几个问题
使用 LLM 解释/回答一下
1.如何将F5键定义为cls,F9键定义为shutdown s
2.在MSDOS.sys中的dblspace,drvspace为何意?一般情况加载与否?
3.SIS630.C-media的驱动加载了,但还是没有声音.用那个setaudio设置了半天参数,还是没音?用QV播放时提示没有找到声卡,用MPXPLAYer播放时,只听到歌曲的第一个音,然后不断
重复这个音---死机了
4.如何用批处理来判断某磁盘容量还剩1M?
5.如果用批处理来判断内存容量?
1. How to define the F5 key as cls and the F9 key as shutdown s
2. What do dblspace and drvspace mean in MSDOS.sys? Under what circumstances are they generally loaded or not loaded?
3. The drivers for SIS630.C-media have been loaded, but there is still no sound. I have set various parameters with setaudio for a long time, but still no sound? When playing with QV, it prompts that the sound card is not found. When playing with MPXPlayer, I only hear the first note of the song, and then it keeps repeating this note - the system freezes.
4. How to use batch processing to judge whether there is still 1M of free space on a certain disk?
5. If using batch processing to judge the memory capacity?
|
|
2003-3-22 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
1:可以用来ANSI来定义;
2:DBLSPACE/DRVSPACE是磁盘压缩工具,只要没有它们的压缩盘,就不需要加载它们;
3:请问BLASTER变量设置得正确吗?
4:可以用ASET命令的DFREE参数来得到磁盘容量;
5:可以用STRINGS的XMSTOTAL参数来得到内存容量。
1: Can be defined with ANSI;
2: DBLSPACE/DRVSPACE are disk compression tools. As long as there are no compressed disks with them, there is no need to load them;
3: Is the BLASTER variable set correctly?
4: The disk capacity can be obtained using the DFREE parameter of the ASET command;
5: The memory capacity can be obtained using the XMSTOTAL parameter of STRINGS.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-3-22 00:00 |
|
|
英雄不色
中级用户
  
积分 221
发帖 33
注册 2003-3-22
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
1.具体如何用ansi来定义,请给个典型的范例.如将F5设为cls,其它的也就自然融汇贯通了.
2.我并不是什么高手,还望Wengier详细说说BLASTER的变量设置?
3.aset,strings不是基本命令吧?还是请Wengier详细说说吧?
另外再提几个问题:
1.makecab for msdos7.1的下载地址?
2.在DOS下如c:时
打入cd d:\mysoft后并没有进入d:\mysoft ,一定要先打入d:,再打入cd mysoft 才真正进入.有没有关于CD命令的增强程序,可以克服这一麻烦?
3.内存中的ifshlp是什么玩意?
4.以下是一批处理程序
@echo off
XX
d:
cd d:\mysoft
wps
xx
当前在c:\dos,请问如何设置变量"XX",使退出wps后又回到c:\dos?
1. How to specifically define with ANSI, please give a typical example. For example, set F5 as cls, and the others will naturally be mastered.
2. I'm not what kind of expert, still hope Wengier to talk about the BLASTER variable setting in detail?
3. aset, strings are not basic commands? Still please Wengier to talk about in detail?
Also mention a few more questions:
1. The download address of makecab for msdos7.1?
2. When in DOS such as c:
Typing cd d:\mysoft doesn't enter d:\mysoft, must first type d:, then type cd mysoft to really enter. Is there an enhanced program for the CD command that can overcome this trouble?
3. What is ifshlp in memory?
4. The following is a batch program
@echo off
XX
d:
cd d:\mysoft
wps
xx
Currently in c:\dos, how to set the variable "XX" so that after exiting WPS, it returns to c:\dos?
|
|
2003-3-23 00:00 |
|
|
英雄不色
中级用户
  
积分 221
发帖 33
注册 2003-3-22
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
baslinux,wcd 无法下载???
baslinux, unable to download wcd?
|
|
2003-3-23 00:00 |
|
|
playboy2925
银牌会员
     想當一人之下萬人之上
积分 1275
发帖 393
注册 2003-1-10
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
不知道 doskey 行不行。
I don't know if doskey will work.
|

<- 刷新一下换个MM
叫我Jorkin或小p就行,别再叫playboy2925了,跟提犯人似的。
如果认为小弟发的logo不错的话,给朵鲜花我就知道了。:)
|
|
2003-3-23 00:00 |
|
|
英雄不色
中级用户
  
积分 221
发帖 33
注册 2003-3-22
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
我的这几个问题已经晒了两天了!!! 请各位高人指点迷津!
我的几个新问题:
doskey? 能说说怎么实现的吗?
1.不用键盘怎么启动计算机?
2.什么压缩程序可以压缩下一层目录?什么解压缩程序可以解开下一层目录?好是在用copy时加了一个/s
My these questions have been posted for two days!!! Please all the experts give me some guidance!
My several new questions:
doskey? Can you tell me how it is implemented?
1. How to start the computer without using the keyboard?
2. What compression program can compress the next - level directory? What decompression program can unzip the next - level directory? It's good when using copy with a /s added
|
|
2003-3-24 00:00 |
|
|
pfox
银牌会员
    
积分 1451
发帖 446
注册 2002-10-20
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
以下是引用英雄不色在2003-3-23 11:32:47的发言:
2.在DOS下如c:时
打入cd d:\mysoft后并没有进入d:\mysoft ,一定要先打入d:,再打入cd mysoft 才真正进入.有没有关于CD命令的增强程序,可以克服这一麻烦?
3.内存中的ifshlp是什么玩意?
4.以下是一批处理程序
@echo off
XX
d:
cd d:\mysoft
wps
xx
当前在c:\dos,请问如何设置变量"XX",使退出wps后又回到c:\dos?
以前有一个DOS软件可以实现该功能,不过名字忘了,得找找看,不知道是否还存在。
The following is the speech of Hero Not Colored on 2003-3-23 11:32:47:
2. When in DOS like c:
After typing in cd d:\mysoft, it doesn't enter d:\mysoft. You must first type in d: and then type in cd mysoft to really enter. Is there any enhanced program for the CD command that can overcome this trouble?
3. What is ifshlp in memory?
4. The following is a batch processing program
@echo off
XX
d:
cd d:\mysoft
wps
xx
Currently in c:\dos, how to set the variable "XX" so that after exiting WPS, it returns to c:\dos?
There was a DOS software that could realize this function before, but I forgot the name. I need to look for it. I don't know if it still exists.
|

我的下载空间 |
|
2003-3-24 00:00 |
|
|
pfox
银牌会员
    
积分 1451
发帖 446
注册 2002-10-20
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
以下是引用英雄不色在2003-3-24 8:27:13的发言:
doskey? 能说说怎么实现的吗?
1.不用键盘怎么启动计算机?
2.什么压缩程序可以压缩下一层目录?什么解压缩程序可以解开下一层目录?好是在用copy时加了一个/s
doskey不能实现。
1."不用键盘怎么启动计算机?"是指什么?
2.基本上压缩软件都支持子目录压缩及解压缩,如:PKZUP、PKUNZIP、RAR、ARJ... ...
The following is a quote from Hero Not Colored on 2003-3-24 8:27:13:
doskey? Can you tell me how to implement it?
1.How to start the computer without a keyboard?
2.What compression program can compress the next level directory? What decompression program can decompress the next level directory? It's better to add a /s when using copy
Doskey cannot be implemented.
1. What does "How to start the computer without a keyboard?" refer to?
2. Basically, compression software supports subdirectory compression and decompression, such as: PKZUP, PKUNZIP, RAR, ARJ... ...
|

我的下载空间 |
|
2003-3-24 00:00 |
|
|
英雄不色
中级用户
  
积分 221
发帖 33
注册 2003-3-22
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
不用键盘就是指在没有键盘的情况下启动微机.
我可能是不太清楚参数的设置.一般我是这样使用的 arj a c:\abc.arj rar e c:\abc.rar c:\abc
但都不会压缩及解压缩子目录.需要加上其它什么参数吗?
上未解决的问题:
1.具体如何用ansi来定义功能键?(刨个例子出来,这样就是我再菜,也会把瓢给画出来的)
2.CMI声卡的问题,还望Wengier详细说说BLASTER的变量设置?(事实上我是不懂什么BLASTER IO中断,但我非常希望我的SIS630集成的声卡能够在实DOS模式下发声,驱动已加载,用MPXPLAYER播放时只出第一个音,尔后便一直重复这个音,这时死机了 用QV播放时显示没有找到声卡 用mpegmid播放mid时一切正常,高低音的图示此起彼伏,但就是没有声音)
3.大家都知道在批处理中有这样的用法:
if exist c:\abc.txt goto 1
if exist d:\123.txt goto 2
我是希望有个程序加在批处理中可以实现以下功能:
if mem = 32M goto 1
if mem = 64M goto 2
如果仅仅用SET=可以实现的话就更好了.是高手就干脆编个批传上来吧?
4.求MAKECAB for msdos7.1 的下载(xp下的makecab是无法在98下运行的)
5.内存中的ifshlp是什么玩意?
6.有没有CD的增强程序,可以实现直接切换各磁盘目录.(当前在c:\,打入cd d:\
mysoft后并没有进入d:\mysoft ,一定要先打入d:,再打入cd mysoft 才真正进入.有没有关于CD命令的增强程序,可以克服这一麻烦?)
7.以下是一批处理程序
@echo off
XX
d:
cd d:\mysoft
wps
xx
当前在c:\dos,请问如何设置变量"XX",使退出wps后又回到c:\dos?
8.求wolf3D的下载(关于勇士进入德军的大本营进行枪杀的DOS游戏
这是一个我曾百玩不厌的老DOS射击游戏,还是3D的)
Not using the keyboard means booting the microcomputer without a keyboard.
I might not be clear about the parameter settings. Generally, I use it like this: arj a c:\abc.arj, rar e c:\abc.rar c:\abc. But neither compresses nor decompresses subdirectories. What other parameters need to be added?
Unresolved issues:
1. Specifically, how to define function keys with ansi? (Give an example, so even if I'm very green, I can draw the scoop.)
2. The problem of the CMI sound card, I hope Wengier can talk in detail about the BLASTER variable setting? (In fact, I don't understand what BLASTER IO interrupt is, but I very much hope that my SIS630 integrated sound card can make sound in real DOS mode. The driver has been loaded. When playing with MPXPLAYER, only the first sound comes out, and then it keeps repeating this sound, and then it freezes. When playing with QV, it shows that the sound card is not found. When playing mid with mpegmid, everything is normal, and the graphic of high and low sounds rises and falls, but there is no sound.)
3. Everyone knows that in batch processing, there is such a usage:
if exist c:\abc.txt goto 1
if exist d:\123.txt goto 2
I hope there is a program added to batch processing that can realize the following function:
if mem = 32M goto 1
if mem = 64M goto 2
It would be better if it can be realized only with SET=. If you are an expert, just compile a batch and upload it?
4. Seek download of MAKECAB for msdos7.1 (the makecab under xp cannot run under 98)
5. What is ifshlp in memory?
6. Is there an enhanced program for CD that can realize direct switching of various disk directories. (Currently in c:\, typing cd d:\mysoft does not enter d:\mysoft, must first type d:, then type cd mysoft to really enter. Is there an enhanced program for the CD command that can overcome this trouble?)
7. The following is a batch program
@echo off
XX
d:
cd d:\mysoft
wps
xx
Currently in c:\dos, how to set the variable "XX" so that after exiting wps, it returns to c:\dos?
8. Seek download of wolf3D (a DOS game about warriors entering the enemy's stronghold for shooting. This is an old DOS shooting game that I have played many times, and it is also 3D)
|
|
2003-3-24 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
关于直接进入D:\MYSOFT的问题,用CDD或MCD等命令都可以做到。我的MS-DOS 7.10启动盘中就有MCD命令。
IFSHLP是用于Windows启动的文件系统辐助程序,在DOS下一般没用到,除非是MSCLIENT等软件。
MAKECAB不好用,CABARC好用多了,也是在DOS窗口下运行的。
声卡的变量设置关键是声卡的各项参数,具体请见网站的“DOS使用”栏目。不过PCI声卡的那些参数全是虚拟的。
要取得内存容量,试试STRINGS XMSTOTAL命令,例如STRINGS MEM=XMSTOTAL就可以将内存容量设入环境变量MEM中。
要退回到原来的文件夹下,用BATCHMAN就行了,例如BATCHMAN PUSHPATH和BATCHMAN POPPATH
Regarding the issue of directly entering D:\MYSOFT, you can do it with commands like CDD or MCD. My MS-DOS 7.10 boot disk has the MCD command.
IFSHLP is a file system assistance program for Windows startup. It is generally not used under DOS, unless for software like MSCLIENT.
MAKECAB is not easy to use. CABARC is much better and also runs in the DOS window.
The key to setting sound card variables is the various parameters of the sound card. For details, please refer to the "DOS Usage" section of the website. However, those parameters of PCI sound cards are all virtual.
To obtain the memory capacity, try the STRINGS XMSTOTAL command. For example, STRINGS MEM=XMSTOTAL can set the memory capacity into the environment variable MEM.
To go back to the original folder, use BATCHMAN. For example, BATCHMAN PUSHPATH and BATCHMAN POPPATH
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-3-24 00:00 |
|
|
英雄不色
中级用户
  
积分 221
发帖 33
注册 2003-3-22
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
1.CABARC在网站上有下载吗?我找了半天都没有找到?
2.还有这么几个问题请各位看看.
不用键盘怎么启动微机(不用键盘就是指在没有键盘的情况下启动微机)
用arj rar pkzip 等如何压缩下一层目录(我不太清楚参数的设置.一般我是这样使用的 arj a c:\abc.arj rar e c:\abc.rar c:\abc 但都不会压缩及解压缩子目录.需要加上其它什么参数吗?)
3.具体如何用ansi来定义功能键?(刨个例子出来,这样就是我再菜,也会把瓢给画出来的)
1. Is there a download of CABARC on the website? I've been looking for a long time and can't find it.
2. There are also several questions for you all to take a look at.
How to boot the microcomputer without a keyboard (without a keyboard means starting the microcomputer without a keyboard)
How to compress the next - level directory with arj, rar, pkzip, etc. (I'm not very clear about the parameter settings. Generally, I use arj a c:\abc.arj rar e c:\abc.rar c:\abc, but neither compresses nor decompresses sub - directories. What other parameters need to be added?)
3. How to specifically define function keys with ansi? (Give an example, so even if I'm very green, I can also draw the ladle.)
|
|
2003-3-25 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
CABARC因为不能在纯DOS下运行,而只能在DOS窗口中运行,所以网站上没有下载,但可以在这儿下载:
http://ftp.intron.ac/pub/security/cabsign/CABARC.EXE
不用键盘,用电脑上的"Power"键就可以启动电脑了。
ARJ、RAR、PKZIP等要压缩子文件夹的内容的话,可加上-R参数。解开的时候ARJ、RAR可用X命令,PKUNZIP则加上-D参数。
CABARC cannot run in pure DOS but only in the DOS window, so it's not available for download on the website, but you can download it here:
http://ftp.intron.ac/pub/security/cabsign/CABARC.EXE
You can start the computer using the "Power" key on the computer without using the keyboard.
For compressing the contents of subfolders with ARJ, RAR, PKZIP, etc., you can add the -R parameter. When extracting, for ARJ and RAR, you can use the X command, and for PKUNZIP, add the -D parameter.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-3-25 00:00 |
|
|
英雄不色
中级用户
  
积分 221
发帖 33
注册 2003-3-22
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
那么在纯DOS下用什么软件可以压缩成CAB.你说makecab挺复杂,可是我在xp下的CMD运行makecab /? 出现的提示也只有区区几个参数而已.如果方便,请站长传个makecab上来吧.
不用键盘就是指在没有键盘的情况下启动微机.在没有键盘的情况下,系统提示没有找到键盘,然后就停止自举.你可以拔掉键盘与主机的连线试试,就是这样子了.
我有台五年前的机器,是华硕主板,而它的并没有ps2口,只有专用的键盘接口.而那个键盘已经不能使用了.我找遍了二手市场都没有那种专用接口的键盘.只得求助于各位高手了.
Then, under pure DOS, what software can be used to compress into CAB? You said makecab is quite complicated, but when I run makecab /? in the CMD under XP, there are only a few parameters in the prompt. If it's convenient, please let the webmaster upload makecab.
"Without using the keyboard" means starting the microcomputer without a keyboard. In the absence of a keyboard, the system prompts that the keyboard is not found and then stops the boot. You can try unplugging the cable between the keyboard and the host, and it's like that.
I have a machine from five years ago, which is an Asus motherboard, and it doesn't have a PS2 port, only a dedicated keyboard interface. And that keyboard is no longer usable. I've searched second-hand markets everywhere and can't find that dedicated interface keyboard. I have to ask for help from all the experts.
|
|
2003-3-26 00:00 |
|
|
英雄不色
中级用户
  
积分 221
发帖 33
注册 2003-3-22
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
方便的话请提供个makeCAB下载.
现象:
开机系统检测没有键盘,然后停止自举.
不用键盘是指在没有键盘的情况下启动微机.我有台五年前的老机,是华硕主板,没有ps/2口,只有专用的键盘接口.而那块键盘已经不能使用了.我在二手市场找整整一天都没找到这种接口的键盘.所以只有求助于各位了.
Please provide a download for makeCAB if convenient.
Phenomenon:
The system detects no keyboard when booting and then stops the bootstrap.
Not using a keyboard means booting the microcomputer without a keyboard. I have an old machine from five years ago, it's an Asus motherboard, no PS/2 port, only a dedicated keyboard interface. And that keyboard is no longer usable. I searched the second-hand market for a whole day and didn't find this type of interface keyboard. So I can only ask for help from everyone.
|
|
2003-3-26 00:00 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
To 英雄不色:
关于第一个问题,可以利用ANSI的键盘重定义功能来实现,具体的实现途径有两条:
1,echo (esc)
Last edited by willsort on 2005-10-13 at 12:01 ]
To Hero Not Color:
Regarding the first question, the keyboard redefinition function of ANSI can be used to achieve it. Specifically, there are two ways to implement it:
1. echo (esc)
Last edited by willsort on 2005-10-13 at 12:01 ]
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2003-3-27 00:00 |
|