Re: remotely invoke .bat file to run on target machine
- From: "John Grandy" <johnagrandy-at-yahoo-dot-com>
- Date: Thu, 9 Jun 2005 18:53:34 -0700
Hi Chris, and thanks for the response.
PsExec is great !
Ok, I'm writing a batch file that uses PsExec many times to perform many
different actions ... most of them work, but ....
I can't figure out how to get PsExec to run on another machine a command
that is meant to be run from within cmd.exe ? For example "del" or "copy"
or "net start" ?
Thanks.
"Chris Dugan" <chrisdotdugan@xxxxxxxxxxxxxxxxxxx> wrote in message
news:j_1qe.12603$cN2.6255@xxxxxxxxxxxxxxxxxxxxxxx
> Yep, you can use PsExec from www.sysinternals.com
>
> It is part of their PsTools suite (free!) that are a nice collection of
> little tools and utilities for doing admin and configwork on networks.
>
> To use PsExec I use a wrapper batch file to copy the utility and the batch
> file to the target pc then run it and then clean up.
>
> Chris
>
>
.
- Follow-Ups:
- Re: remotely invoke .bat file to run on target machine
- From: Michael Bednarek
- Re: remotely invoke .bat file to run on target machine
- References:
- remotely invoke .bat file to run on target machine
- From: John Grandy
- Re: remotely invoke .bat file to run on target machine
- From: Chris Dugan
- remotely invoke .bat file to run on target machine
- Prev by Date: Need a script to disable or enable based off wireless connection being used.
- Next by Date: Re: Script to map drives and printers
- Previous by thread: Re: remotely invoke .bat file to run on target machine
- Next by thread: Re: remotely invoke .bat file to run on target machine
- Index(es):
Relevant Pages
|