Hi
is there any way to run a shell script from a batch file? im new to this and any help is really appreciated.

Thanks

Recommended Answers

All 5 Replies

Hi
is there any way to run a shell script from a batch file? im new to this and any help is really appreciated.

Thanks

Depends on what you mean by shell script and batch file? Do you mean running bash script from a Windows batch file?

Depends on what you mean by shell script and batch file? Do you mean running bash script from a Windows batch file?

I need to run a .ksh script from a .bat file.
Also the script contains some db2 commands.
Can this script be executed thru .bat file?

Thanks

I need to run a .ksh script from a .bat file.
Also the script contains some db2 commands.
Can this script be executed thru .bat file?
Thanks

You really shouldn't talk in extensions. What the hell is a .bat file...is it a Windows batch file? Are you trying to run a Unix/Linux script on a Windows box?

You really shouldn't talk in extensions. What the hell is a .bat file...is it a Windows batch file? Are you trying to run a Unix/Linux script on a Windows box?

Yes u r right. That is what im exactly trying to do.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.