Author: cfm
Subject: psexec with autorunsc output file empty
Posted: 22 November 2013 at 9:03pm
Hi all,
I have designed a little console tool who give me somes wmi info (serial number of the machine,...).
I tried to run this tool like the example bellow (autorunsc is just for the example) :
"g:\Sysinternals\PsExec.exe" \\my-PC -c "g:\Sysinternals\autorunsc.exe" -accepteula > "g:\Sysinternals\autorunsc.log"
I tried a lot of syntax based on cmd /c, start, start /B, echo, clip, >,>>,| or ^> but the file autorunsc.log is always empty.
Please, can someone give me the right syntax ?
Thanks,
Cfm.
Subject: psexec with autorunsc output file empty
Posted: 22 November 2013 at 9:03pm
Hi all,
I have designed a little console tool who give me somes wmi info (serial number of the machine,...).
I tried to run this tool like the example bellow (autorunsc is just for the example) :
"g:\Sysinternals\PsExec.exe" \\my-PC -c "g:\Sysinternals\autorunsc.exe" -accepteula > "g:\Sysinternals\autorunsc.log"
I tried a lot of syntax based on cmd /c, start, start /B, echo, clip, >,>>,| or ^> but the file autorunsc.log is always empty.
Please, can someone give me the right syntax ?
Thanks,
Cfm.