I am trying to execute following command
psexec \\\\x.x.x.x -d -c -f cmd.exe /c d:\\test\\hello.bat
It runs fine and gives output
Try one of those:
psexec \\server -u xxx-p xxxx /accepteula -i 1 -d cmd.exe /K "cd d:\test && call hello.bat"
psexec \\server -u xxx -p xxxx /accepteula -i 1 -d d:\test\hello.bat