Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

bugoy

I got a workaround working. Using Winscp with plink. batch file running on command.
bugoy

I just realized I was not logged in when I post this. This is my post and question.
Guest

Help with call command

Hi,

I've been trying to get this to work for a week now and finally decided to post for help.
My Setup
Server -> Windows 7 Pro 32bit running with OpenSSH
Client -> Windows 7 Pro 32bit using WinSCP command line

Purpose: Upload a zip file to Server "c:\update\" and execute to run a batch file "xtract.bat" (xtract.bat is not only extracting the upload file it has other jobs to do in server).
Upload is working from Client to Server /cygdrive/c/update.

Issue: Once the upload is finish I cannot call a !command to run xtract.bat in the server.

What I've tried:
1) call !c:\update\xtract.bat
2) call !cmd.exe c:\update\xtract.bat

When I review the log the call !command connects and loads the session. But I don't see the command getting push/pass to the session.

Either I don't understand the call !command works or I'm doing something wrong or I need to configure something on my Server Side OpenSSH or Client side.

Please help and I've included the log with this post.