fpsdyl 0 Posted June 15, 2007 Hi! im having a small problem. im running linux , and we have this server running windows, now on windows there is a batch file called myfile.bat that does some stuff,,, now i want to write a bash script that ssh into my windows pc and automaticaly runs the bat file.... i googled it and i found the following example : ssh User@Host "command 1; command 2; command3" so i ran : ssh myusername@myhost "c:\ftp\admin\myfile.bat;" and it doesnt work.... but to test it i ran : ssh myusername@myhost "echo mytest > mytest.txt;" and that works perfectely it creates the file and everything... please can someone help me with this!!!! thanks in advance! Share this post Link to post