Unix Programming - Unix connection to Windows

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > May 2005 > Unix connection to Windows





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Unix connection to Windows
grfischer3@yahoo.com

2005-05-13, 8:05 am

I am looking for information to launch a DOS BAT file from Unix. Is
anyone familiar with this?

mgrd

2005-05-14, 1:23 pm

grfischer3@yahoo.com wrote:
> I am looking for information to launch a DOS BAT file from Unix. Is
> anyone familiar with this?


Not sure but `rpcclient' may to the job.
It's part of the samba-client tools.

--
reply to usenet only
Pascal Bourguignon

2005-05-14, 1:23 pm

grfischer3@yahoo.com writes:

> I am looking for information to launch a DOS BAT file from Unix. Is
> anyone familiar with this?


Yes, it's quite easy.

Install cygwin on your Microsoft system (http://www.cygwin.com); use
setup to install a number of tools, including sshd.

Launch a cygwin, and start sshd.

Then on the unix host, use ssh to launch programs on MS-Windows:

ssh user@bsod c:\\windows\\dir



--
__Pascal Bourguignon__ http://www.informatimago.com/
Until real software engineering is developed, the next best practice
is to develop with a dynamic system that has extreme late binding in
all aspects. The first system to really do this in an important way
is Lisp. -- Alan Kay
David Resnick

2005-05-14, 1:23 pm


grfisch...@yahoo.com wrote:
> I am looking for information to launch a DOS BAT file from Unix. Is
> anyone familiar with this?


Have you looked at installing cygwin on the Windows box
and using openssh? You could run sshd on the windows box
and then ssh in the commands you want to execute. I've
not done this for a bat file, but I assume it will work.

-David

phil_gg04@treefic.com

2005-05-14, 1:23 pm

> I am looking for information to launch a DOS BAT file from Unix. Is
> anyone familiar with this?


What exactly are you trying to do? I imagined that you actually wanted
to run the BAT file on a Unix box, for which something like DOSEMU or
WINE or VMWARE is needed, but others have come to another conclusion.

--Phil.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com