From: Vasanth on
How to execute an .exe file in unix shell script ?

I have an .exe file " StorePackedFileAccelerators.exe ".When i tried to
run the exe file in Unix shell script,it cannot able to execute the exe
file.

I have tried the following options but the exe file does'nt executed.

> StorePackedFileAccelerators.exe

> dos StorePackedFileAccelerators.exe &

> StorePackedFileAccelerators.exe --exec

Thanks, Vasanth.

From: Sandeep on
Vasanth wrote:
> How to execute an .exe file in unix shell script ?
>
> I have an .exe file " StorePackedFileAccelerators.exe ".When i tried to
> run the exe file in Unix shell script,it cannot able to execute the exe
> file.
>
> I have tried the following options but the exe file does'nt executed.
>
> > StorePackedFileAccelerators.exe
>
> > dos StorePackedFileAccelerators.exe &
>
> > StorePackedFileAccelerators.exe --exec
>
> Thanks, Vasanth.

Is it a windows file ? If yes, you cannot run it directly on a unix
shell script ( try wine )

if it is a unix file just with extension "exe", try "sh file.exe" or
give execute permission to the file by chmod 555 filname.exe and then
try ./filename.exe

From: Bruce Barnett on
"Vasanth" <vasanth4u(a)gmail.com> writes:

> How to execute an .exe file in unix shell script ?
>
> I have an .exe file " StorePackedFileAccelerators.exe ".When i tried to
> run the exe file in Unix shell script,it cannot able to execute the exe
> file.


Is it in your searchpath?

If not, then use
./StorePackedFileAccelerators.exe



--
Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.
From: Mahmood on
Can You please rethink about your question if you have some idea about
OS's arch.

>From your context , It looks like a Windows Binary/executable file,
Can you please paste thee output of the following command to elaborte ?

# file StorePackedFileAccelerators.exe

???



Is that's just a binary file which your *NIX can recongnise, then it
really doesnot matter whether its name ends with ".exe" or whatever
try using

chmod +x <FileName.exe>
../<filename.exe

if you are really sure what You are saying , then you may consider
using "WINE" ( I myself do not reccomend that personnaly, try using
native threads of OS instead )

Regards,

Moody
UNIX Administrator.
PTML (Ufone)