Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizPlease log in to access this content. You will be redirected to the login page shortly.
LoginMicrosoft Microsoft DOS in Microsoft 3 years ago
Hi All,
I am newbiee for writing batch files.I have WRITTEN a batch file to log into linux machine from my windows through putty and to invoke an application on the remote end. I have to send the data to the application from my windows machine. My batch file looks like this....
type image | putty.exe -t -l root -pw anil123 -m anil.txt 10.50.25.53
where as the image contains the data to be sent to application.
anil.txt contains the application to be invoked.
what i have observed was, i am able to loginto the linux machine and able to invoke the application but not able to send the data to the application.My control is GETTING STUCK in the application which i have invoked and with the pipe command i am not able to send the data to application.....
please HELP me.......thanks in advance
Anil.
I have asked for this to be re-directed to the correct forum.your application anil123 takes an image file as an input correct?? you can just SCP over the image file, then invoke the application.Thanks for the quick reply......
In my batch file, Image is the file which contains the data to be sent to the application that is invoked on the linux machine.....
linux machine to be specific i am working on a embedded device on which uClinux o.s is
running. so i can't winscp the image on to board........
Anil.
Posted on 21 May 2022, this text provides information on Microsoft related to Microsoft DOS in Microsoft. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
Turn Your Knowledge into Earnings.
No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.