TechSpot

Make a batch file open a program in XP

By airshot
Dec 1, 2004
  1. I am trying to help a friend by writing a batch file to backup a data base. She currently has one which, I assume uses XP's built in write to CD soft ware, I have just installed a DVD writer for her and the batch file will no longer work. I thought that it would be possible to modify the file to open Nero and write to the dvd drive but I am not having much luck. Question is it possible to open and run a program from a batch file and if so what is the command for it.
    I have tried "C:\Program Files\Ahead\Nero\nero.exe" and all I get is program is not a recognised command etc. Can any one help or should this old fool stick to playing games?
     
  2. cwcomputers

    cwcomputers TS Rookie

    open notepad type

    cd "c:\Program Files\Ahead\Nero"
    nero.exe



    save as *.bat file


    This will open the program from the batch file
     
  3. airshot

    airshot TS Rookie Topic Starter

    thanks very much it opens a treat, Can I be really cheeky and ask if it is possible to instruct nero to copy a file to dvd from the bat. file?
     
  4. cwcomputers

    cwcomputers TS Rookie

    I dont know if nero can be configured from a command line. You will have to check any documentation. Unless somebody else knows??
     
  5. RealBlackStuff

    RealBlackStuff TS Rookie Posts: 6,503

    So that it works from anywhere on your PC, correctly it should be:

    c:
    cd \
    cd "Program Files\Ahead\Nero"
    nero.exe
     
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...