Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Need help on Bacthfiles(.bat)  (Read 2404 times)

0 Members and 1 Guest are viewing this topic.

srinivas_india

  • Guest
Need help on Bacthfiles(.bat)
« on: August 12, 2006, 03:06:23 AM »
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


GX1_Man

  • Guest
Re: Need help on Bacthfiles(.bat)
« Reply #1 on: August 12, 2006, 10:28:24 AM »
Have you checked on the techarena site?

http://forums.techarena.in/
« Last Edit: August 12, 2006, 10:29:18 AM by GX1_Man »

GuruGary



    Adviser
    Re: Need help on Bacthfiles(.bat)
    « Reply #2 on: August 12, 2006, 08:08:24 PM »
    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.exe
    or to stop and start the SERVER service:
    Code: [Select]
    net stop server /yes
    net start server /yes