Computing.Net > Forums > Programming > Batch file network execution?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file network execution?

Reply to Message Icon

Name: kulkan
Date: December 10, 2007 at 16:18:40 Pacific
OS: Windows2003 Server
CPU/Ram: -
Product: -
Comment:

Hello all,

I have a Windows2003 network, and i the problem im having is with 2 of the main computers.

Computer A is the main server, with Computer B being a machine running a service.

Computer B currently has a batch file which makes the computer restart itself and its service.

Im trying to consolidate the control of the network to the main server, so only one screen to interface with, so i don't have to log into the other machine to run this batch file.

Is there any way to make a batch file execute a file across the network, pretty much a network short cut to the batch file on Computer B?

The reason im doing this is because i only take care of this network when there are problems, most of the time it is used by people who are, for the most part, computer illiterate, so i am trying to make it easy for them by having everything they need on one page.

Thank you in advance, sorry it's so long winded.

Kulkan



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: December 11, 2007 at 06:14:07 Pacific
Reply:

As much as I'm against using a server as a workstation, the question's easy enough to answer.

shutdown -r -f -m \\ComputerB


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch file network execution?

executing msdos batch file from wit www.computing.net/answers/programming/executing-msdos-batch-file-from-wit/3290.html

Batch files does not execute www.computing.net/answers/programming/batch-files-does-not-execute/16061.html

batch file to call reg files? www.computing.net/answers/programming/batch-file-to-call-reg-files/8298.html