|
From: Vasanth on 6 Mar 2006 06:25 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 6 Mar 2006 07:29 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 6 Mar 2006 07:45 "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 6 Mar 2006 09:57 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)
|
Pages: 1 Prev: invoking shell commands from makefile Next: Have script redirect output? |