Computer Hope

Microsoft => Microsoft Windows => Windows Server => Topic started by: ravindra on October 17, 2005, 03:01:39 AM

Title: windows 2003 autoexec.bat problem?
Post by: ravindra on October 17, 2005, 03:01:39 AM
hi
i am using windows 2003 server. i want to execute some scripts when my server starts up.i have edited autoexec.bat file . but my scripts are not executed.


any idea why this is happening ? ais anything else i have to do?
Title: Re: windows 2003 autoexec.bat problem?
Post by: vibhor_agarwalin on October 17, 2005, 03:10:46 AM
I don't think autoexec.bat is used anymore.

Place a shortcut of your script in the Startup folder.
Title: Re: windows 2003 autoexec.bat problem?
Post by: ravindra on October 17, 2005, 03:12:33 AM
where is startup folder?
Title: Re: windows 2003 autoexec.bat problem?
Post by: vibhor_agarwalin on October 17, 2005, 03:20:37 AM
I can't tell you the exact location in 2003.

But its in Profiles->Start Menu->Programs->Startup

Have a look
Title: Re: windows 2003 autoexec.bat problem?
Post by: ravindra on October 17, 2005, 03:22:38 AM
hi
i go the startup folder but the problem is how to pass the arguments to the program.
Title: Re: windows 2003 autoexec.bat problem?
Post by: vibhor_agarwalin on October 17, 2005, 03:27:24 AM
Will these be runtime or hard written?
Title: Re: windows 2003 autoexec.bat problem?a
Post by: ravindra on October 17, 2005, 04:23:13 AM
thanks vibhor for u  answers got how setup all the things...
Title: Re: windows 2003 autoexec.bat problem?
Post by: vibhor_agarwalin on October 17, 2005, 04:49:36 AM
Glad to hear that all things are working.  :)