0% found this document useful (0 votes)
20 views2 pages

RBOOTSRV

This batch script updates client files for a Windows 95 remote boot server. It checks for necessary files and directories, copies specified system files, and updates the remote boot database. If any required files are missing or errors occur during copying, it provides usage instructions and error messages.

Uploaded by

nn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views2 pages

RBOOTSRV

This batch script updates client files for a Windows 95 remote boot server. It checks for necessary files and directories, copies specified system files, and updates the remote boot database. If any required files are missing or errors occur during copying, it provides usage instructions and error messages.

Uploaded by

nn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

@echo OFF

if "%1"=="" goto USAGE


if "%2"=="" goto USAGE
if not exist %1\COMMAND.COM goto NOCOMMANDCOM
if not exist %2\RPLSVC.MDB goto NORPLSVCMDB
if not exist .\win95.rpl goto NOTHOMEDIR
if not exist .\rbootsrv\bblock\w95i13.com goto NOTHOMEDIR
echo Updating client files on %2\rplfiles\binfiles\win95 ...
mkdir %2\rplfiles\binfiles\win95
mkdir %2\rplfiles\binfiles\win95\command
for %%i in (
aspi2hlp.sys
command.com
dblbuff.sys
emm386.exe
himem.sys
ifshlp.sys
ndishlp.sys
net.exe
net.msg
neth.msg
protman.dos
protman.exe
ramdrive.sys
snapshot.exe
) do ( copy %1\%%i %2\rplfiles\binfiles\win95\%%i )
copy %1\winboot.sys %2\rplfiles\binfiles\win95\io.sys
if not errorlevel 0 goto COPYERROR
copy %1\command\setver.exe %2\rplfiles\binfiles\win95\command
if not errorlevel 0 goto COPYERROR
copy %1\command\mem.exe %2\rplfiles\binfiles\win95\command
if not errorlevel 0 goto COPYERROR
xcopy /E rbootsrv %2
if not errorlevel 0 goto COPYERROR
mkdir %2\rplfiles\configs\win95
if not errorlevel 0 goto COPYERROR
echo Updating remoteboot database ...
rplcmd %3 < .\win95.rpl
echo.
echo.
echo The update of the remoteboot server is complete. Don't forget that
echo the server with the Windows 95 tree must be updated with WIN95SRV.BAT.
goto end
:COPYERROR
echo An error occurred copying files.
goto END
:NOCOMMANDCOM
echo The file %1\COMMAND.COM could not be found.
echo Check that the Windows 95 network setup tree %1 is correct.
goto USAGE
:NORPLSVCMDB
echo The file %2\RPLSVC.MDB could not be found.
echo Check that remoteboot directory %2 is correct.
goto USAGE
:NOTHOMEDIR
echo Run this batch script from the RPL\UPDATE\WIN95 directory, or from
echo the directory containing the RBOOTSRV directory.
goto END
:USAGE
echo �
echo Syntax for RBOOTSRV:
echo �
echo RBOOTSRV [source] [dest] [servername]
echo �
echo [source] = directory where Windows 95 network setup tree is installed
echo [dest] = root directory of RPL installation (e.g. C:\WINNT\RPL)
echo (optional) [servername] = name of server (e.g. \\RPLSERVER)
echo default is local machine
echo �
echo Example: RBOOTSRV g:\win95 c:\winnt\rpl \\rplserver
goto END
:END

You might also like