LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-26-2002, 08:06 AM   #1
gopi_20us
LQ Newbie
 
Registered: Feb 2002
Posts: 9

Rep: Reputation: 0
How to run bat file from Unix script???


Hi All,

How to trigger a bat file from unix script???Any kind of help appreciated.

Thanks in advace.
Gopi.
 
Old 02-26-2002, 11:12 AM   #2
herambshembekar
Member
 
Registered: Feb 2002
Location: India
Distribution: redhat 7.1
Posts: 70

Rep: Reputation: 15
May be u need to load WINE
 
Old 02-26-2002, 11:46 AM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
You could have it load into DosEmu.
 
Old 02-26-2002, 01:32 PM   #4
gopi_20us
LQ Newbie
 
Registered: Feb 2002
Posts: 9

Original Poster
Rep: Reputation: 0
would you be more specific.

Hi,

would you please give detail answer with an example.

Thanks in advace..
Gopi.
 
Old 02-27-2002, 09:51 AM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Well, it all depends on what exactly you need to do. DosEmu (as the name implies) is an emulator, which runs within a complete virtual environment. If you wanted to run a .bat file that should interact with something in your Linux environment, then DosEmu is not the way to do it. Wine could be, but I don't know how effective it is at running what is effectively a 'dos script'. It's quite good at running Windows stuff, as that is what it was designed for.
 
Old 03-02-2002, 02:47 PM   #6
weblion
Member
 
Registered: Jun 2001
Location: Antarctica.
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
Why would you want to run a BAT file under Unix?
 
Old 03-03-2002, 09:08 AM   #7
gopi_20us
LQ Newbie
 
Registered: Feb 2002
Posts: 9

Original Poster
Rep: Reputation: 0
Hi,

I have a situation where in we have a PGP on Windows NT and we are going to move from NT to AIX.But we are not going to instal PGP on AIX.We prefer to use PGP on NT for encrypting decrypting the files public keys.So I need to run all NT batch files from AIX script.I think I explained my requirement.Any kind of help appreciated.

Thanks in advance.
Gopi.
 
Old 09-13-2010, 11:53 PM   #8
aparnanair
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
hi
can anyone please help me too in finding out how to run a batch file in unix.
 
Old 09-14-2010, 08:31 AM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Code:
wineconsole cmd batchfile.bat

Last edited by dugan; 09-14-2010 at 08:47 AM.
 
Old 09-14-2010, 08:48 AM   #10
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
And there is a whole lot open source encryption/decryption programs, so in no way the OP is "hard-wired" to PGP.
 
Old 09-14-2010, 09:15 AM   #11
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
GnuPG is an open soruce clone of PGP... and it works natively on Linux.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unix shell script:How to delete the first line in a file?? rche3252 Programming 6 03-03-2010 07:32 AM
how to run the *.bat file ztdep Linux - Software 8 07-19-2005 04:36 PM
how to run a script on subfolder file in a folder saggi_sam Linux - Newbie 5 07-13-2005 05:04 AM
Remote Win Bat File execute Shell Script on AIX Server DriveMeCrazy AIX 5 05-26-2004 06:24 PM
How to schedule unix script periodically from unix os level??? gopi_20us Programming 2 03-11-2002 06:45 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:14 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