Computing.Net > Forums > Unix > DOS script from UNIX

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

DOS script from UNIX

Reply to Message Icon

Name: suhoi
Date: July 12, 2005 at 03:30:45 Pacific
OS: UNIX
CPU/Ram: 2G
Comment:

Hi there,

I need to call a DOS script from UNIX enviroment in an automated process. Is it possible? What kind of settings I should do? I have available some Win-OS based machines in out LAN and a condor pool.

Thanks in advance.

regards,

Suhoi



Sponsored Link
Ads by Google

Response Number 1
Name: cislord
Date: July 13, 2005 at 00:49:00 Pacific
Reply:

You need something like an rsh service running on the Windows machine. Win2000 server has rsh ( see http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/rsh.mspx).

Once the rsh service is running on the Win machine, you would do something like this from unix:

rsh -l <username> <Win hostname> c:\dirname\dos_script_name.cmd


Where I work we use a product called Control-M to schedule jobs on Unix and Win machines. These machines are essentially agents of the Control-M server. But thats another story.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: DOS script from UNIX

ruuning a dos file from unix www.computing.net/answers/unix/ruuning-a-dos-file-from-unix/197.html

Dos command from unix www.computing.net/answers/unix/dos-command-from-unix/5335.html

RCP from UNIX to Windows NT/95/???? www.computing.net/answers/unix/rcp-from-unix-to-windows-nt95/3869.html