Batch file to run two jobs at startup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hausj0dw
    New Member
    • Aug 2007
    • 10

    Batch file to run two jobs at startup

    I need a batch file created to start music player then start a PowerPoint pps file.

    What I am doing is playing music continuously while a slide presentation runs continuously.

    Any help or suggestions would be greatly appreciated.
  • Stang02GT
    Recognized Expert Top Contributor
    • Jun 2007
    • 1206

    #2
    I don't think you need a batch file to do that. Shouldn't you just create a power point presentation, include music with in it, and play the presentation on a computer?

    I don't see the need for a batch file? But maybe I am missing something.

    Comment

    • hausj0dw
      New Member
      • Aug 2007
      • 10

      #3
      The music has nothing to do with the presentation. The music will last about an hour and a half then play over until is is changed the next day. It just background music,

      the presentation last about 20 minutes and plays over continuously until the next day,

      both files will be downloaded remotely and the PC restarted, the batch file will be in the startup option.

      This is in windows XP.

      Comment

      • wassimdaccache
        New Member
        • Apr 2007
        • 222

        #4
        Try to make 2 shortcuts of your application (one for the sound file and the other for the *.ppt application)

        and then copy them in startup folder in your program menu.

        Comment

        • AmberJain
          Recognized Expert Contributor
          • Jan 2008
          • 922

          #5
          Although, as "wassimdaccache " suggested in REPLY#4,that will do you job.

          But if you want to do this using a batch file only, try this.
          _______________ _______________ _______________ _______________ _____
          OK, if you really need a batch file for your task, do this------>

          Suppose the target files have the name [test.mp3] and [pres.ppt] and they are saved in the directories as below----->

          C:\Documents and Settings\user\M y Documents\test. mp3

          AND

          C:\Documents and Settings\user\M y Documents\pres. ppt

          Then make 2 batch files [job1.bat] and [job2.bat] and save them in startup folder in start menu.

          The format of two batch files are given below:-

          _______________ _______________ _______________ _______________ _____
          job1.bat
          _______________ _______________ _______________ _______________ _____
          c:
          cd\
          cd Documents and Settings\user\M y Documents
          test.mp3
          exit



          _______________ _______________ _______________ _______________ _____
          job2.bat
          _______________ _______________ _______________ _______________ _____
          c:
          cd\
          cd Documents and Settings\user\M y Documents
          pres.ppt
          exit



          =============== =============== =============== ============
          This will do your job.

          HOPE THIS HELPS.......... ..

          ============
          AmbrNewlearner
          ============

          Comment

          • hausj0dw
            New Member
            • Aug 2007
            • 10

            #6
            Thanks for your responses, I'll be trying this at work on Monday.

            HAVE A NICE WEEKEND.

            Comment

            Working...