LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-06-2009, 05:36 PM   #1
Iyyappan
Member
 
Registered: Dec 2008
Location: Chennai, India
Distribution: CentOS 5, SLES 11
Posts: 245

Rep: Reputation: 4
Smile reg:Bat Files


i need to know what bat file is. whats its use. how to create a bat file in linux. how to run it. i am a newbie.i have googled. i got some ideas. but still i need dome help..kindly guide me
 
Old 05-06-2009, 05:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
.bat is a DOS/Windows batch file, executed/process by the command-processor.

The Linux equivalent would be a shell-script, but in Linux extensions don't
matter. You can call a bash (shell) script a .bat, and it will happily
work. You *CAN NOT* just run a .bat that came from a windows machine on
Linux w/o heavily modifying it.


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does linux run bat files like DOS oldgi Linux - Software 6 07-05-2007 11:47 AM
convert .bat / .csh file to .sh files massoo Programming 1 03-06-2006 06:10 PM
Linux equivalent of bat files anjanesh Linux - Newbie 19 12-30-2005 12:15 PM
echo bat files HELP jollyjoice Programming 5 11-02-2005 02:53 PM
.bat files on Linux? dave1.1 Linux - Newbie 5 10-21-2004 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration