Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

PsTools : PsExec command output redirection

$
0
0
Author: xcla
Subject: PsExec command output redirection
Posted: 07 October 2014 at 9:28am

Hi,

I have this code: 

E:\psexec \\serverIP -u domain\user -p passord -d -i 1 -h /accepteula E:\A00000069C.BAT > E:\A00000069D 2>&1

I want to get is the standard and error output of A000000069C, not the output of psexec (that is what i´m getting with the code). 

Any ideas about what i'm doing wrong?

Thanks for your help.



Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>