The -c option not working as expected

Viewed 0

It seems to ingore the current local directory.

C:\tmp>psexec \\10.215.8.253 -c "copssh.exe"

PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

Connecting to 10.215.8.253...^C
Couldn't access 10.215.8.253:
Logon failure: unknown user name or bad password.
Connecting to 10.215.8.253...^C

C:\tmp>paexec \\10.215.8.253 -c "copssh.exe"

PAExec v1.19 - Execute Programs Remotely
Copyright (c) 2012-2013 Power Admin LLC
www.poweradmin.com/PAExec

One or more source files were not found.  Try -csrc or -clist?
0 Answers
Related