[arachne] Re: MODIFYING GLENN'S BURNBACK.ZIP

Arachne at FreeLists---The Arachne Fan Club!

BURNBACK.BAT 'fully commented' to show what each line does.....

--- burnback.bat --- 
@ echo off 
rem turn off echoing of each command
 
set TZ=-0400 
rem set timezone ENV variable
 
rem nwcache.exe /u 
rem unload nwcache.exe (OpenDos/Dr-Dos only)
 
if "%1"=="nozip" goto makeiso 
if "%2"=="nozip" goto makeiso 
if "%3"=="nozip" goto makeiso 
rem if any of the 3 possible command line args was "nozip" 
rem skip making the zip files 

md h:\drvs_c-g>nul 
rem make the dir for holding the ZIPs 

del h:\drvs_c-g\*.zip>nul 
rem delete any old ZIPs 
 
zip.exe -9 -r h:\drvs_c-g\drive_c c:\*.* 
rem make ZIP of drive C: using max compression
rem and recursing into all sub dirs
rem saving the dir structure in the ZIP 
 
zip.exe -9 -r h:\drvs_c-g\drive_d d:\*.*
rem make ZIP of drive D: using max compression
rem and recursing into all sub dirs
rem saving the dir structure in the ZIP 
 
zip.exe -9 -r h:\drvs_c-g\drive_e e:\*.*
rem make ZIP of drive E: using max compression
rem and recursing into all sub dirs
rem saving the dir structure in the ZIP 
 
zip.exe -9 -r h:\drvs_c-g\drive_f f:\*.*
rem make ZIP of drive F: using max compression
rem and recursing into all sub dirs
rem saving the dir structure in the ZIP 
 
zip.exe -9 -r h:\drvs_c-g\drive_g g:\*.*
rem make ZIP of drive G: using max compression
rem and recursing into all sub dirs
rem saving the dir structure in the ZIP 
 
:makeiso 
if "%1"=="noiso" goto burn
if "%2"=="noiso" goto burn
if "%3"=="noiso" goto burn
rem if any of the 3 possible command line args was "noiso" 
rem skip making the ISO 

del i:\*.iso>nul
rem delete the old ISO

make9660.exe -p -m h:\drvs_c-g\ drvs_c-g i:\drvs_c-g.iso
rem make the new ISO showing the progress as it goes
rem and allowing punctuation in filenames other than underscores
 
:burn 
addev.com aspi.sys
rem load the driver for the burner 
 
if "%1"=="format" cdtools /format /id=0:1:0 /noconfirm
if "%2"=="format" cdtools /format /id=0:1:0 /noconfirm
if "%3"=="format" cdtools /format /id=0:1:0 /noconfirm
rem if any of the 3 possible command line args as "format" 
rem format the CD-RW/DVD-RW disc 
 
file2cd.exe i:\drvs_c-g.iso /id=0:1:0 /noconfirm /nounderrun
rem burn the ISO to disc
 
deldev.com aspi.sys
rem unload the burner driver
 
del c:\aspi.log
rem delete the LOG file 

goto end
rem that's it... we're done... goto the end of the batch file

Use the following 3 commands to determine the correct ID of your burner....
addev.com aspi.sys 
cdtools.exe /devices 
deldev.com aspi.sys 
Now replace all occurences of '/id=0:1:0' above with the ID of your burner.

:end 
___________________________________________________________________________


-- 
 http://www.glennmcc.org/
                  Arachne at FreeLists                  
-- Arachne, The Premier GPL Web Browser/Suite for DOS --

Other related posts: