Computing.Net > Forums > Programming > How to run a batch file on another

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.

How to run a batch file on another

Reply to Message Icon

Name: praveent
Date: August 15, 2007 at 03:25:52 Pacific
OS: xp
CPU/Ram: P4
Product: dell
Comment:

Hi friends,

I want to know does how to run a batch file present on another computer within the domain, from my computer, without logging into the remote computer.

Regards,


Praveen



Sponsored Link
Ads by Google

Response Number 1
Name: tonysathre
Date: August 15, 2007 at 10:27:01 Pacific
Reply:

Try psexec.exe or remote.exe

"Computer security." — Oxymoron


0

Response Number 2
Name: praveent
Date: August 16, 2007 at 06:07:00 Pacific
Reply:

thanks.

The batch file restarts the some services on the remote computer. So on running it from my pc, will the services on the remote computer gets restarted???

Praveen


0

Response Number 3
Name: tonysathre
Date: August 16, 2007 at 10:59:45 Pacific
Reply:

Yes.

Your script on the remote host should contain something like this:

@echo off
net stop service && net start service
...


"Computer security." — Oxymoron


0

Sponsored Link
Ads by Google
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: How to run a batch file on another

How to call one batch file from another www.computing.net/answers/programming/how-to-call-one-batch-file-from-another/19151.html

how to call a batch file from html www.computing.net/answers/programming/how-to-call-a-batch-file-from-html/1539.html

How to make a batch file type text www.computing.net/answers/programming/how-to-make-a-batch-file-type-text-/11493.html