473,466 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Batch file to run two jobs at startup

10 New Member
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.
Jun 6 '08 #1
5 3417
Stang02GT
1,208 Recognized Expert Top Contributor
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.
Jun 6 '08 #2
hausj0dw
10 New Member
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.
Jun 6 '08 #3
wassimdaccache
222 New Member
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.
Jun 7 '08 #4
AmberJain
884 Recognized Expert Contributor
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\My Documents\test.mp3

AND

C:\Documents and Settings\user\My 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\My Documents
test.mp3
exit



__________________________________________________ _______________
job2.bat
__________________________________________________ _______________
c:
cd\
cd Documents and Settings\user\My Documents
pres.ppt
exit



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

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

============
AmbrNewlearner
============
Jun 7 '08 #5
hausj0dw
10 New Member
Thanks for your responses, I'll be trying this at work on Monday.

HAVE A NICE WEEKEND.
Jun 7 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: brad | last post by:
I am new to perl and would like to know how to check the return values of a perl program in a batch file. how can I save the return value of the perl program and use it to make decisions as to...
2
by: Stephen | last post by:
Hi all, I want to create an app that runs a batch file which inturn runs applications. question: if I start the batch file from app1, how can app1 know that the batch file ran successfully...
4
ck9663
by: ck9663 | last post by:
hi guys this is a little challenging, at least for me...here goes... i have to run a DOS batch file from a server. with some parameters that i need to pass. these parameters can be found on a...
3
by: John | last post by:
Hi. I have a number of batch jobs that are ran nightly on our Windows 2000 based Oracle 8.1.7 (soon to be 9i) server. I have these designed just right, so the Windows Scheduled Tasks runs them...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.