Solved

Can batch file be run on Solaris

Posted on 2009-05-12
3
1,082 Views
Last Modified: 2013-12-27
Is it possible to run a batch file (.bat) on Solaris?
0
Comment
Question by:anshul9189
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 50 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

Technology Partners: 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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

751 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