phlashriot
Technical User
I want to make a simple executable file that will copy a specified text file to a usable Windows compatable CD-R.
I have already figured out how to copy the file manually create the ISO and burn to a CD-R but i want to make it so i can run one batch type file from any user. This batch file will navigate to the correct directory, ask the user what file is to be copied, then the batch file will continue on its own to finish the rest of the tasks nessasary to make the ISO and burn the CD-R and delete the iso file it created.
I guess all I need help with is the user prompt portion of the batch file and any bright ideas
Here is the currect commands that i use to make the CD-R
cd /file/is/here
cp (file name) /tmp/cdromdir
cd /tmp/cdromdir
mkisofs -L -l -v -r -o /tmp/cdimg.iso
cdrecord -V /tmp/cdimg.iso
Thanks in advance for the assist.
I have already figured out how to copy the file manually create the ISO and burn to a CD-R but i want to make it so i can run one batch type file from any user. This batch file will navigate to the correct directory, ask the user what file is to be copied, then the batch file will continue on its own to finish the rest of the tasks nessasary to make the ISO and burn the CD-R and delete the iso file it created.
I guess all I need help with is the user prompt portion of the batch file and any bright ideas
Here is the currect commands that i use to make the CD-R
cd /file/is/here
cp (file name) /tmp/cdromdir
cd /tmp/cdromdir
mkisofs -L -l -v -r -o /tmp/cdimg.iso
cdrecord -V /tmp/cdimg.iso
Thanks in advance for the assist.