Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Can batch file be run on Solaris

Posted on 2009-05-12
3
Medium Priority
?
1,134 Views
Last Modified: 2013-12-27
Is it possible to run a batch file (.bat) on Solaris?
0
Comment
Question by:anshul9189
  • 2
3 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 24371238
what is there in that .bat file? is it unix commands or windows commands ?
0
 

Accepted Solution

by:
mccsyd earned 200 total points
ID: 24371242
No.

.bat files are a windows only thing.

The equivalent of a .bat script on linux is a Shell Script. (But much much more powerful)

Some info: http://en.wikipedia.org/wiki/Shell_script

Here are some tutorials that helped me when i was beginning with shell scripting:
http://gd.tuwien.ac.at/linuxcommand.org/writing_shell_scripts.php
http://gd.tuwien.ac.at/linuxcommand.org/writing_shell_scripts.php

Hope This Helps!

-Kev
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 24371246
then you need to rewrite them since windows scripts / commands are different from unix scripts / commands
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question