INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

simple batch file

simple batch file

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close