roberts Posted July 29, 2008 Share Posted July 29, 2008 Questions about using AutoIt to burn DVDs have come up a numberof times in this forum.The best command line DVD burning program I have found isgrowisofs.exe. It is available athttp://fy.chalmers.se/~appro/linux/DVD+RW/tools/win32A sample command would begrowisofs -dvd-compat -Z e: -r -J --graft-points docs/=c:/docs-dvd-compat For maximum DVD compatibility.-Z Set for first burn session to disk.e: Drive letter of CD burner.-r Specifies Rock Ridge naming conventions be used.-J Specifies Joliet extensions be used for long filenames.growisofs actually calls mkisofs.exe to create the image file, createthe filesystem in it, and populate it with data. mkisofs options canbe appended to the end of the growisofs command:--graft-points Specifies where the directories are to placed on the CD. The xxxx/= preceding the directories to be copied means that the files will be copied to that directory on the CD. Omitting this will copy the directory's files directly into the CD's root directory. Quotes are used if the directory name contains a space. Implementing this in an AutoIt script to run without a window:$GraftPnts = "docs/=c:/docs"$BurnCmd = "growisofs -dvd-compat -Z e: -r -J --graft-points " & $GraftPnts$BurnOut = Run( $BurnCmd, $BackUpDir, @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD)Note that the list of graftpoints can be stored in a script file and read into the $GraftPnts variable. This will save recompiling thescript every time the list changes.Unfortunately, this does not work under AutoIt. I keep getting anerror message that the file is "in use by another process". Mysuspicion is that growisofs's call to mkisofs is somehow tying up theimage file.Any suggestions would be appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now