1.

Solve : Need help on Bacthfiles(.bat)?

Answer»

Hi All,

I have some task with batch file to execute server commnads.
i have server commnads(to server start, deploy, and STOP server), now i WANTED to executed these commands through .bat file. can any body help me about how to execute these commands through .bat file, how to write CODE to in .bat FILES to execute these commands.
Thanks in advance.

Regards,
Srinivas

Have you checked on the techarena site?

http://forums.techarena.in/
Are these commands you enter in the command prompt? If so, just create a text file (using NOTEPAD or your favorite text editor) and list the commands, one per line, as you would enter them in the command line, and save the file with a .BAT extension. Example:
Code: [Select]c:
cd \program\install
setup.exeor to stop and start the SERVER service:
Code: [Select]net stop server /yes
net start server /yes



Discussion

No Comment Found