LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 11-28-2012, 07:09 AM   #1
Springs
Member
 
Registered: Apr 2008
Posts: 57

Rep: Reputation: 0
run a windows exe remotely from a linux command line?


Hi all,

Is there a way to send commands to a windows XP machine from a Linux command line so that they run on the XP machine and not the linux box?

I have a windows specific piece of software that when ran will run through its process and then quit. looking at the software forums it doesn't look to be supported in wine either.

Thanks
 
Old 11-28-2012, 07:56 AM   #2
pan64
Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,159

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
you can try for example sshd on windows
 
Old 11-29-2012, 07:48 PM   #3
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
You could look at winexe. http://sourceforge.net/projects/winexe/
 
Old 01-03-2013, 10:32 AM   #4
Springs
Member
 
Registered: Apr 2008
Posts: 57

Original Poster
Rep: Reputation: 0
coming back to this.

I've got Cygwin installed on the Windows machine and can remote ssh into it without an issue.

Is there a way I can ssh into the xp machine and run a windows program from the command line that will execute on that machine and not try running it through the terminal interface. The software i need to run is automatic and i just need to run the software with the correct switches.

I'm currently doing it by the use of a "watch" folder system that monitors the folder for changes and runs the program.
 
Old 01-06-2013, 08:37 AM   #5
pan64
Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,159

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
probably you can write a bat or cmd file to execute it. also there is a command named start in windows.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MinGW/Msys: how to run PWD from Windows command line? Dims Other *NIX 0 06-29-2011 09:41 AM
Can I run a Windows exe. program in Linux jacatone Linux - Software 6 05-09-2010 05:35 PM
run windows exe file in Linux? shipon_97 Linux - Newbie 5 11-24-2008 10:42 PM
Why a windows programe(*.exe) can't run in a Linux system? prerp Linux - General 32 11-18-2008 08:20 PM
How to run windows based .exe programs on linux slsscoot Linux - Newbie 7 04-20-2008 06:28 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration