-
How to convert unix shell script to DOS batch file
Hi Gurus
I'm running some unix shell scripts from cron-job in the unix server for automatic checking, alerting and paging purpose. Those unix scripts are working fine.
I want to run the same kind of script in our Windows NT database server.
My question is:
How to convert Unix script to DOS BAT file.
Can someone assist me in this regard.
Thanks and regards
Anandharaj
Anandharaj
a_anandharaj@yahoo.com
-
1) Open UNIX script in a text editor and save as a Windows-readable text file as necessary.
2) Open the bat file and edit UNIX commands, paths, whatever to make them DOS-like. Change commands as necessary. Change paths as necessary.
-
Re: How to convert unix shell script to DOS batch file
Originally posted by anandharaj
Hi Gurus
I'm running some unix shell scripts from cron-job in the unix server for automatic checking, alerting and paging purpose. Those unix scripts are working fine.
I want to run the same kind of script in our Windows NT database server.
My question is:
How to convert Unix script to DOS BAT file.
Can someone assist me in this regard.
Thanks and regards
Anandharaj
Take a look at WinBatch. It is a very powerful tool for writing scripts in Windows. Its not free, but it will let you do a lot.
-
Hi stecal
Thanks for your inputs.
Is there any doc/link is available to find/list DOS command equallent to Unix command ?
Regards
Anandharaj
Anandharaj
a_anandharaj@yahoo.com
-
This is but one of about 400,000 hits on Google. Sorry, didn't have time to list all of them.
-
There is software that you can run on Windows that will emulate a Unix shell.
-
Originally posted by gandolf989
There is software that you can run on Windows that will emulate a Unix shell.
mks toolkit is one
Jeff Hunter
-
I've used Cygwin. It's free and it works well
-
Cygwin is also my favorite.
Tarry Singh
I'm a JOLE(JavaOracleLinuxEnthusiast)
--- Everything was meant to be---
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|