Operating System - HP-UX
1834967 Members
1994 Online
110072 Solutions
New Discussion

Re: From unix machine, run a dos script from a WIN2003 server

 
SOLVED
Go to solution
f. halili
Trusted Contributor

From unix machine, run a dos script from a WIN2003 server

Hello,

From my HP-UX machine, how can I run a dos script, or better yet a shell script on a WIN 2003 server?

The idea is like a remsh to the WIN machine then do a bdf.

thanks,
f. halili
derekh
7 REPLIES 7
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: From unix machine, run a dos script from a WIN2003 server

If you want a shell script to run on a Windows box then you actually need a shell -- which isn't installed on a Windows box. What you can do is install Windows Services for UNIX (SFU) which includes a Korn shell and will allow you to remsh to the Windows box (with proper permissions set up). Bdf is not a standard UNIX command so you can't run it but df is a standard UNIX command and Microsoft SFU does implement it.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: From unix machine, run a dos script from a WIN2003 server

You can download Microsoft SFU from here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=896C9688-601B-44F1-81A4-02878FF11778&displaylang=en
If it ain't broke, I can fix that.
f. halili
Trusted Contributor

Re: From unix machine, run a dos script from a WIN2003 server

i'm downloading now. BIG THANKS! - f. halili
derekh
spex
Honored Contributor

Re: From unix machine, run a dos script from a WIN2003 server

Why is it called "Windows Services for UNIX", anyway? Wouldn't "UNIX Services for Windows" be more accurate?
A. Clay Stephenson
Acclaimed Contributor

Re: From unix machine, run a dos script from a WIN2003 server

This is Microsoft. Why ask why?
If it ain't broke, I can fix that.
f. halili
Trusted Contributor

Re: From unix machine, run a dos script from a WIN2003 server

thanks!
derekh
Sheriff Andy
Trusted Contributor

Re: From unix machine, run a dos script from a WIN2003 server

I really like cygwin. I would take the time to look at it. It runs in a bash shell. It is really pretty flexible.

Andy