Re: remote comand
- From: "Alberto Arias" <AlbertoArias@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 20 Feb 2006 05:11:31 -0800
i try this but don't work.
I'm just trying to sincronize my server 2 with a hdd library clone with
script. All script work fine, but i'm want to do unattended. To do this i
need run scripts in 2 different server. 1 script to flush data in server 1
and other to map drive in server 2.
The easy option it's to run a script in server 2 that flush data in server 1
(cmd remote) and this script go back the control to server1.
i'm going to try with other options. Thank you very much for all.
"Pegasus (MVP)" wrote:
Unfortunately you chose not to tell us exactly what you're.
doing, hence we cannot tell you where your problem lies.
Here is what I did:
1. Create a batch file c:\temp\test.bat on PC1:
@echo off
dir \
2. Invoke the batch file from PC2:
psexec \\pc1 c:\temp\test.bat
The batch file runs and psexec.exe returns to PC2,
as expected.
"Alberto Arias" <AlbertoArias@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5E578A0C-1C45-4C3D-B026-C09BCBB690BC@xxxxxxxxxxxxxxxx
It's work fine, but i have the same problem. When i run the tool i cantexit.
I want to run a but ina server 1 that run some prgram with commands inserver
2, and when finish close the *.bat.and
With psexec i run a program fine but dont work the @k, bye, finish, exit
anything tag. The are some Trick?????message
Thank you for your good answer.
"Pegasus (MVP)" wrote:
"Alberto Arias" <AlbertoArias@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
run anews:8AA0F348-5203-48BF-89F1-B2406541E1F5@xxxxxxxxxxxxxxxx
There are some method to run a *.bat in a remote server??? I want to
butbut in my first server from my second server. I found the rexec comand
i
can't do run. Some page or program????
Thank you very much.
Try psexec.exe from www.sysinternals.com.
- Follow-Ups:
- Re: remote comand
- From: Pegasus \(MVP\)
- Re: remote comand
- References:
- Re: remote comand
- From: Pegasus \(MVP\)
- Re: remote comand
- From: Pegasus \(MVP\)
- Re: remote comand
- Prev by Date: PerfMon log
- Next by Date: Re: remote comand
- Previous by thread: Re: remote comand
- Next by thread: Re: remote comand
- Index(es):
Relevant Pages
|