Autoexec.bat with Windows 2003 Server?

  • Thread starter Thread starter Manny
  • Start date Start date
M

Manny

Guest
Hi. I do not think that the old autoexec.bat concept work with Windows 2003
Server. So how do I now implement a command to execute automatically when the
server is restarted, and without having to log into the server???

I have a need to always and automatically have the server run a "ROUTE ADD"
statement from the commmand line.

Thanks,
Manny
 
Re: Autoexec.bat with Windows 2003 Server?


"Manny" <Manny@discussions.microsoft.com> wrote in message
news:FA2F7878-F2FC-4374-83FE-2E970CD16569@microsoft.com...
> Hi. I do not think that the old autoexec.bat concept work with Windows
> 2003
> Server. So how do I now implement a command to execute automatically when
> the
> server is restarted, and without having to log into the server???
>
> I have a need to always and automatically have the server run a "ROUTE
> ADD"
> statement from the commmand line.
>
> Thanks,
> Manny


Use the Task Scheduler to launch your command at boot time.
 
Re: Autoexec.bat with Windows 2003 Server?

Sorry to be a bother. I am not quite sure how to do this as I am unfamiliar
with Task Scheduler.

I went to START > ALL PROGRAMS > ACCESSORIES > SYSTEMS TOOLS > SCHEDULE TASK.

What do I do now? I selected "Command Line" but where/how do I specify my
actual command line of " ROUTE ADD..."???

Thanks again!

Manny


"Pegasus (MVP)" wrote:

>
> "Manny" <Manny@discussions.microsoft.com> wrote in message
> news:FA2F7878-F2FC-4374-83FE-2E970CD16569@microsoft.com...
> > Hi. I do not think that the old autoexec.bat concept work with Windows
> > 2003
> > Server. So how do I now implement a command to execute automatically when
> > the
> > server is restarted, and without having to log into the server???
> >
> > I have a need to always and automatically have the server run a "ROUTE
> > ADD"
> > statement from the commmand line.
> >
> > Thanks,
> > Manny

>
> Use the Task Scheduler to launch your command at boot time.
>
>
>
 
Re: Autoexec.bat with Windows 2003 Server?

nevermind. pls disregard. i think i figured it out. thanks.

"Manny" wrote:

> Sorry to be a bother. I am not quite sure how to do this as I am unfamiliar
> with Task Scheduler.
>
> I went to START > ALL PROGRAMS > ACCESSORIES > SYSTEMS TOOLS > SCHEDULE TASK.
>
> What do I do now? I selected "Command Line" but where/how do I specify my
> actual command line of " ROUTE ADD..."???
>
> Thanks again!
>
> Manny
>
>
> "Pegasus (MVP)" wrote:
>
> >
> > "Manny" <Manny@discussions.microsoft.com> wrote in message
> > news:FA2F7878-F2FC-4374-83FE-2E970CD16569@microsoft.com...
> > > Hi. I do not think that the old autoexec.bat concept work with Windows
> > > 2003
> > > Server. So how do I now implement a command to execute automatically when
> > > the
> > > server is restarted, and without having to log into the server???
> > >
> > > I have a need to always and automatically have the server run a "ROUTE
> > > ADD"
> > > statement from the commmand line.
> > >
> > > Thanks,
> > > Manny

> >
> > Use the Task Scheduler to launch your command at boot time.
> >
> >
> >
 
Re: Autoexec.bat with Windows 2003 Server?


"Manny" <Manny@discussions.microsoft.com> wrote in message
news:2B654AE5-C46D-4B25-B44E-9DFE56AF4F50@microsoft.com...
> Sorry to be a bother. I am not quite sure how to do this as I am
> unfamiliar
> with Task Scheduler.
>
> I went to START > ALL PROGRAMS > ACCESSORIES > SYSTEMS TOOLS > SCHEDULE
> TASK.
>
> What do I do now? I selected "Command Line" but where/how do I specify my
> actual command line of " ROUTE ADD..."???
>
> Thanks again!
>
> Manny


Now that you've solved your problem yourself, note that there
is a Task Scheduler applet in the Control Panel. Much easier
to locate than the path you used before. If you're a server admin
then it will probably be worth your while looking at each and
every applet in the Control Panel. Lots of good stuff there!
 
Re: Autoexec.bat with Windows 2003 Server?

Hi Manny
Try using the option -P in your route add the should tolerate reboot's and
the route will always be thier

"Manny" <Manny@discussions.microsoft.com> wrote in message
news:FA2F7878-F2FC-4374-83FE-2E970CD16569@microsoft.com...
> Hi. I do not think that the old autoexec.bat concept work with Windows
> 2003
> Server. So how do I now implement a command to execute automatically when
> the
> server is restarted, and without having to log into the server???
>
> I have a need to always and automatically have the server run a "ROUTE
> ADD"
> statement from the commmand line.
>
> Thanks,
> Manny
 
Back
Top