0

I Have a unix shell script, after it runs, it will ftp a file to windows server. Then i need to manuallu schedule a windows batch script. couls you please suggest me method where i can call the batch script from the unix shell script.

Thanks in advance

4
  • You mean, you want to execute the batch script remotely, right? From a unix box? Commented Jun 11, 2013 at 11:00
  • Why you tag question with #java? Commented Jun 11, 2013 at 11:29
  • If you are sending a Windows Shell script to a Windows server and want it to run on that server, you have to set up a service on that server to do so. You might look at Windows Remote Shell and see if it is appropriate: blog.hernanjlarrea.com.ar/index.php/… Commented Jun 11, 2013 at 11:51
  • Yes thejh, i want to execute or call the windows batch script from unix box. Commented Jun 12, 2013 at 16:38

1 Answer 1

0

Take a look at this:

https://stackoverflow.com/a/16720186/2471910

It talks specifically about invoking a windows program from another windows machine (instead of a unix machine) but the concepts are the same since ssh is available on unix as well.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.