LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-08-2008, 03:13 AM   #1
steve bowden
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Rep: Reputation: 0
can I start a windows application


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.

tia

Steve Bowden
 
Old 11-08-2008, 03:56 AM   #2
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
Have you tired...

http://www.cygwin.com/

David
 
Old 11-08-2008, 03:56 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
It doesn't feel to me like you need anythign special at all. you just want to run a command remotely without manually entering it?

ssh user@server commandhere

for example
 
Old 11-08-2008, 06:12 AM   #4
steve bowden
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for the response

I have looked at cygwin but it is not what I need (i think)

as for ssh user@server command, will this start a task on the windows client?

Steve
 
Old 11-08-2008, 10:31 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
how does cygwin fit into this? you want a way to run somethign over telnet / ssh? what do you have on the windows side already??
 
Old 11-10-2008, 03:12 AM   #6
steve bowden
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Original Poster
Rep: Reputation: 0
More detail

This is the problem in more detail.

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

tia

Steve
 
Old 11-10-2008, 03:21 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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?
 
Old 11-10-2008, 05:36 AM   #8
salter
Member
 
Registered: Oct 2008
Posts: 100

Rep: Reputation: 15
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.

Last edited by Tinkster; 10-30-2010 at 05:16 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Start an application louann5840 Linux - Newbie 7 03-23-2007 12:27 PM
How to start application? ddragas Linux - Newbie 5 02-02-2006 03:35 PM
How to start an application when the fedora start ivonne Fedora 0 11-16-2004 12:16 PM
How to start an application when the fedora start ivonne Fedora 9 11-12-2004 01:40 PM
how i migrate windows application to Linux base application vandarakalpesh Linux - Software 0 06-26-2004 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration