Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I am working with legacy software on a linux server. I use a bespoke terminal emulator/telnet client called TBredComm which is installed on Windows. A feature of TBredComm is its ability to 'start a windows application'
e.g. if my application (on linux) does this:-
PRINT 'OB',"c:\windows\notepad.exe",'OE'
notepad starts on my windows desktop. ('OB' AND 'OE' are just escape codes to tell the emulator what to do)
This feature allows me to start windows vb scripts, to automatically pull data from linux and to automate word, excel, outlook etc.
THE PROBLEM:
TBredComm is expensive so I would like to work with something freeware (like PuTTY).
Does anyone know of other emulators that do this?
is there a way of achieving this directly from linux (actually Centos) ?
this would be the preferred option because I could use it with any telnet-SSh client.
My legacy software (on the linux server, accessed via PuTTY from a windows XP PC) creates a tmp.vbs (windows scripting host) file containing all the commands to open and populate an excel spreadsheet (or word doc). I have a transfer.vbs script file on the windows XP PC which:-
1) opens an FTP connection to the linux server
2) transfers the tmp.vbs file from linux to windows
3) 'runs' the tmp.vbs file (and the spreadsheet appears in windows)
I need a way of issuing a linux command which starts the transfer.vbs script on the XP PC
I can do this using the bespoke terminal emulator (TBREDCOMM) by using its built in Mnemonics but I need to do this while using PuTTY
I'm even more confused... you connect TO linux FROM windows with putty? Yet you want a command to run on Linux to PUSH a file to windows?
If we put aside your current solutions, you need to just copy a file from Linux to Windows and run it? that just sounds like a bog standard ftp batch file to me. What's making this so much more complex that I'm reading it as?
On the Linux server use 'scp' (SSH copy) to move the file from Linux to Windows.
Then run from Linux some script to initiate an SSH session (needs proper SSH setup in terms of password) to run the script on Windows - assuming that there is some application on Windows that can launched from a command-line in a meaningful way.
Then again, you could write some script on Windows to get the file from the Linux server, and then simply launch the retrieved script by whatever application you want.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.