On Tue, 03 Jun 2003 19:05:24 +0900, Kali Mclaughlin wrote:

> Dear list: (It would be amazing to meet some of you amazing people some
> day)
> I have had total failure at DOS CD burning. I got as far as a CDburner
> recognised by Goldenhawk software, and claiming it had successfully
> burned a CD. Unfortunately it was yet another drink coaster that I dont
> need as I drink red wine. You can get reasonably good claret here
> for less than $6.00 US a litre.

> Now Coffee is another matter. It actually grows on bushes I pass on the
> way WALKING to work. I eat the nice pink berries. We have roasted the
> beans, but can buy excellent local coffee at $12US a kilo, roasted,
> vacuum packed ground and all.

> Flowtack only pays its workers intermittently, but we have lots of good
> coffee, great food, and other inducements.

Kali,

I have successfully used this .BAT on both SCSI and IDE burners.

--- burnboth.bat ---
@echo off
c:
cd\

if "%1"=="" goto err
echo Please insert blank CDs into both drives
pause
if not direxist k:\!hd2cd goto sort
del k:\!hd2cd\*.iso
del k:\!hd2cd\*.txt

:sort
NI\DS NE C:\/S
NI\DS NE D:\/S
NI\DS NE E:\/S
NI\DS NE F:\/S
NI\DS NE G:\/S
NI\DS NE H:\/S
NI\DS NE I:\/S
NI\DS NE J:\/S
NI\DS NE K:\/S

if "%1"=="test" goto test
if exist h:\drive_c.zip goto zipd
pkzip -ex -rP -wsh -bk: -a+ h:\drive_c.zip c:\*.*
:zipd
if exist h:\drive_d.zip goto zipe
pkzip -ex -rP -wsh -bk: -a+ h:\drive_d.zip d:\*.*
:zipe
if exist i:\drive_e.zip goto real
pkzip -ex -rP -wsh -bk: -a+ i:\drive_e.zip e:\*.*
goto real

:test
echo test>h:\drive_c.zip
echo test>h:\drive_d.zip
echo test>h:\drive_e.zip
echo test>h:\drive_f.zip
echo test>h:\drive_g.zip

:real
:loadide
if "%CDROM%"=="ON" goto already
ddl.com c:\cdrom\doscdrst\ASPI.SYS
ddl.com c:\cdrom\ltnide.sys /D:CDR-IDE /DMA
c:\cdrom\shsucdx.exe /D:CDR-IDE,Q

SET CDROM=ON
@echo CD is Loaded
goto loaded
:already
@echo CD is already Loaded
:loaded

md k:\!hd2cd
echo h:\>k:\!hd2cd\drvs-cde.txt
echo i:\>>k:\!hd2cd\drvs-cde.txt

cd\dao
makeiso.exe @k:\!hd2cd\drvs-cde.txt k:\!hd2cd\drvs-cde.iso /volume=drvs-cde
/recurse /hidden /system /noconfirm
del h:\*.zip
del i:\*.zip

if "%1"=="test" goto test1
if "%1"=="real" goto real1
goto err
:test1
file2cd k:\!hd2cd\drvs-cde.iso /speed=4 /beep /test /noconfirm
goto drvs-fg
:real1
file2cd k:\!hd2cd\drvs-cde.iso /speed=4 /beep /eject /noconfirm

:drvs-fg
:unload CDR-IDE
c:\cdrom\shsucdx.exe /u<\yes
ddu.com CDR-IDE<\yes
ddu.com SCSIMGR$<\yes
SET CDROM=

echo First CD done
echo Ready to start second CD ( IDE-SCSI )

del k:\!hd2cd\*.iso
del k:\!hd2cd\*.txt

if "%1"=="real" if exist h:\drive_f.zip goto zipg
pkzip -ex -rP -wsh -bk: -a+ h:\drive_f.zip f:\*.*
:zipg
if "%1"=="real" if exist i:\drive_g.zip goto zipdone
pkzip -ex -rP -wsh -bk: -a+ i:\drive_g.zip g:\*.*

:zipdone
echo h:\>k:\!hd2cd\drvs-fg.txt
echo i:\>>k:\!hd2cd\drvs-fg.txt

makeiso.exe @k:\!hd2cd\drvs-fg.txt k:\!hd2cd\drvs-fg.iso /volume=drvs-fg
/recurse /hidden /system /noconfirm
del h:\*.zip
del i:\*.zip

:loadscsi
ddl.com c:\cdrom\safscsi\aspi3520.sys
ddl.com c:\cdrom\safscsi\ascsi.sys
ddl.com c:\cdrom\safscsi\adtc-cd.sys /D:CDR-SCSI
c:\cdrom\shsucdx.exe /D:CDR-SCSI,Q

if "%1"=="test" goto test2
if "%1"=="real" goto real2
goto err
:test2
file2cd k:\!hd2cd\drvs-fg.iso /speed=4 /beep /test /noconfirm
goto end
:real2
file2cd k:\!hd2cd\drvs-fg.iso /speed=4 /beep /eject /noconfirm
goto end

:err
echo usage:
echo burnback test
echo burnback real
goto done

:end
:unload CDR-SCSI
C:\CDROM\SHSUCDX /u<\yes
ddu.com CDR-SCSI<\yes
ddu.com scsimgr$<\yes

del k:\!hd2cd\*.iso
del k:\!hd2cd\*.txt
rmdir k:\!hd2cd

:done
echo Done!
echo .
cd\
_____________________________

--- ddl-ddu.txt ---

                       DDL (Device Driver Load)
                       ________________________

SYNTAX: DDL <device pathname> [<device parameters>]

This loads a device driver  without  the  need to reboot the computer.
The full pathname is required, parameters for the device driver may be
specified. This can be especially useful  when loading a device driver
that is only  occasionally  used.  So,  to  load  the  ANSI.SYS device
driver, type:

   DDL C:\DOS\ANSI.SYS

                      DDU (Device Driver Unload)
                      __________________________

SYNTAX: ddu <device name>              or...
        ddu <drive letter>:

This unloads a device driver  that  has  been  loaded using DDL. Other
devices may not be unloaded. If unloading a block device such as a ram
disk, all units of  that  device  will  be  unloaded. The drive letter
specified must also be the first  unit  of the device. That means that
if the device driver loads drives E: and F:, you must specify drive E:
to unload, and both will then be  unloaded).

Block devices must be unloaded in the reverse order to which they were
loaded. To unload a ram drive called E: type:

   DDU E:

                      LDD (List Device Drivers)
                      _________________________

Syntax: LDD

Lists all loaded device drivers. If  they  did not alter the interrupt
vectors, device drivers  loaded  using  DDL  are  high-lighted with an
asterisk, otherwise with an exclamation mark.

P. Frost 1991

____________________

--
 Glenn
 http://arachne.cz/
 http://www.delorie.com/listserv/mime/
 http://www.cisnet.com/glennmcc/
 http://www.cisnet.com/glennmcc/aqc/

Reply via email to