Startup programs

K

Kathy

Hello,
I have a few small batch files I want to run at a
startup. My problem is that I need one to be run before
the other. Of course the one that I need to run first
does not. Is they a way to force (using windows startup)
one task to run before another?

Thanks in advance
Kathy
 
J

Jon

Could merge the batch files together into one super batch file
eg right-click each and paste the contents of each into notepad in the order
you want them to run, saving the whole with a .bat extension

OR you could set up a master batch file that runs the other batch files in
the order you want them to run.

Jon
 
T

ThePainter

Hi,
Can I just ask how to do that, could you put a link to
the batch file in the registry start list, and have in
the .bat file ( start "" "C:\Program Files\AVscan.exe" )
then on the next line ( start "" "C:\My
Documents\Next.bat") in which the next task is written.
 
T

Tim Slattery

Kathy said:
Hello,
I have a few small batch files I want to run at a
startup. My problem is that I need one to be run before
the other. Of course the one that I need to run first
does not. Is they a way to force (using windows startup)
one task to run before another?

Make a third batch file that runs both of the other two. Start the
first with the "start" command:

start /wait bbb1.bat
bbb2.bat

bbb2 won't start until bbb1 finishes. For details on "start" open a
command prompt and type "start /?". (Without the question marks, of
course.)
 
T

ThePainter

CHEERS :)
-----Original Message-----
echo Running the first bat
Number1.bat
echo Running the second bat
Number2.bat

That's it, unless XP changed the bat language on me!


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top