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-11-10 21:51
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Attention] Batch Processing Diagnosis Special Room View 19,532 Replies 172
Floor 91 Posted 2003-06-22 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
★★
Credits 321
Posts 66
Joined 2003-05-22 00:00
23-year member
UID 2315
Gender Male
Status Offline
I want to make a boot CD that automatically installs win98, but I don't know how to use a created batch file on the boot CD to automatically install Win98. First use the install command setup, followed by the path and filename of the .inf file just created by Batch 98. (The default filename is Msbatch.inf.) For example, typing the following command on the command line: setup msbatch.inf /is will start installing Win98 automatically and read the .inf file as required.

How should I set up msbatch.inf in the batch file (this file is on the CD) so that it can carry out the entire automatic installation of win98~~~?
Floor 92 Posted 2003-06-23 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
★★
Credits 321
Posts 66
Joined 2003-05-22 00:00
23-year member
UID 2315
Gender Male
Status Offline
IF "%config%"=="SETUP_CD" goto AUTOSETUP
GOTO QUIT
:AUTOSETUP
set CDROM=FOO23
FINDCD.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:\;%CDROM%\
%CDROM%
cd \WIN98 <---------------------------what does this mean, does it open the win98 directory under the CD?
echo. Or does it sort of expand the win98 directory like in DOS?
OEMSETUP.EXE /K "/IE /NF"
goto QUIT

Can you answer me?
Floor 93 Posted 2003-06-24 00:00 ·  中国 安徽 合肥 电信
中级用户
★
Credits 272
Posts 43
Joined 2003-04-04 00:00
23-year member
UID 1392
Gender Male
Status Offline
Question for the experts:
How can I use .bat to increase visits to my personal homepage!!!!
Floor 94 Posted 2003-06-24 00:00 ·  中国 浙江 金华 电信
初级用户
★
Credits 109
Posts 1
Joined 2003-06-06 00:00
23-year member
UID 3919
Gender Male
Status Offline
How do I configure MSCONFIG in WIN98?
Floor 95 Posted 2003-06-30 00:00 ·  中国 浙江 温州 电信
初级用户
★
Credits 108
Posts 2
Joined 2003-06-29 00:00
23-year member
UID 6131
Gender Male
Status Offline
Moderator, please help. I want to make a batch file that starts program a.exe, and after that program finishes running, deletes file b.sys. Experts, please tell me how to write the last step. Thanks!
Floor 96 Posted 2003-07-01 00:00 ·  中国 北京 北京神州长城通信技术发展中心中国长城互联网
初级用户
★
Credits 218
Posts 26
Joined 2003-05-30 00:00
23-year member
UID 2628
Gender Male
Status Offline
Moderator, this is the content of my autoexec.bat file (please look at it together with the file in the config.sys clinic):

@ECHO OFF
goto %config%

:KVD2003
@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
cls
path=a:\;
CLS
ECHO.
ECHO This is a KV2003 2003-6-30 5M DOS Edition !
ECHO.
ECHO Kvd2003 32bit version 7.01.213 (DOS32V)
echo.
echo Make by ** Shadowman **
echo.
echo -----------------------------------------------------------------------------
KVD2003

:JMHDFIX
JMHDFIX
Floor 97 Posted 2003-07-02 00:00 ·  中国 陕西 西安 电信
初级用户
★
Credits 156
Posts 13
Joined 2003-07-01 00:00
23-year member
UID 6214
Gender Male
From 陕西
Status Offline
How can I make MOUSE。COM on the boot disk run automatically after startup? In CONFIG。SYS or in AUTOEXEC。BAT?
Floor 98 Posted 2003-07-02 00:00 ·  中国 北京 263网络通信股份有限公司
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
The following is quoted from SXGXB on 2003-7-2 20:47:46:
How can I make MOUSE。COM on the boot disk run automatically after startup? In CONFIG。SYS or in AUTOEXEC。BAT?


AUTOEXEC。BAT

Teamwork !
Floor 99 Posted 2003-07-02 00:00 ·  中国 陕西 西安 电信
初级用户
★
Credits 156
Posts 13
Joined 2003-07-01 00:00
23-year member
UID 6214
Gender Male
From 陕西
Status Offline
Thanks, how exactly should it be configured?
Floor 100 Posted 2003-07-02 00:00 ·  中国 北京 263网络通信股份有限公司
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
relative or absolute path\mouse.com

LH means load into UMB to run; most programs can use the LH parameter.

Teamwork !
Floor 101 Posted 2003-07-03 00:00 ·  中国 陕西 西安 电信
初级用户
★
Credits 156
Posts 13
Joined 2003-07-01 00:00
23-year member
UID 6214
Gender Male
From 陕西
Status Offline
Thanks
Floor 102 Posted 2003-07-16 00:00 ·  中国 广东 肇庆 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
23-year member
UID 6709
Gender Male
Status Offline
I want to write a boot disk batch file with the following functions, using Ghost.exe for backup and restore, but I don't know what tools I need or how to write it.

1. Restore function:

Boot from the boot disk — prompt for the name of the backup file to restore, %xxx.gho% — search for xxx.gho, put the full path of the xxx.gho found into the command below; if this file does not exist, then go back to the previous step and enter another filename — prompt for which %partition% the backup file should be restored to, put the variable %partition% into the command below — execute the Ghost restore command:
ghost -clone,mode=pload,src=%full path\xxx.gho%:1,dst=1:%partition% -sure

2. Backup function:

Boot from the boot disk — prompt for the %partition A% to back up — set a value, for example: 2G, make a check, and put the backup file into the first %partition B% with more than 2G of free space — prompt for the backup %filename% — put the above variables into the command below to execute the backup:
ghost -clone,mode=pdump,src=1:%partition A% ,dst=%partition B%\%filename% -z9 -sure


Floor 103 Posted 2003-07-24 00:00 ·  中国 广东 肇庆 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
23-year member
UID 6709
Gender Male
Status Offline
Floor 104 Posted 2003-07-26 00:00 ·  中国 广东 肇庆 端州区 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
23-year member
UID 6709
Gender Male
Status Offline
Floor 105 Posted 2003-07-26 00:00 ·  中国 广东 肇庆 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
23-year member
UID 6709
Gender Male
Status Offline
‹ Prev 1… 5 6 7 8 9 …12 Next ›
Forum Jump: