03-16-2007
How to run .exe file
Hello,
I have an test.exe file under a directory. When i execute the .exe file directory from the prompt, i get following error:
$ test.exe <enter>
ksh: test.exe: not found
How do i solve this error?
TIA,
Ramesh
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Am trying to run a exe on my unix machine from a different folder.
For instance,
i have a perl file in a folder /home/asif/runprj.pl which runs a exe in a different folder /home/projects/cobsat/a.out
and my perl file is something like this
#!/usr/bin/perl... (1 Reply)
Discussion started by: Asif Ali
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have copied base64.exe under base64-1.3 folder and i am trying to run base64.exe from another folder called Request. But i am getting the following error message.
mga.ksh: base64: not found
Please let me know how to execute the base64.exe from a directory where it is not installed.
... (0 Replies)
Discussion started by: lotus123
0 Replies
3. Linux
Hai,
is there any way to run an .exe file in unix environment . i have read that WINE HQ supports this concept but its very inconsistent and upto the user risk . but i tried WINE but iam not able to configure it can any one help me in this matter
Regards
Sanju (1 Reply)
Discussion started by: sanjustudy
1 Replies
4. UNIX and Linux Applications
hi friends
i want to know if its possible to run windows exe files in unix.... i know the file system in windows and unix are totally different. but is there any application which allows this???? (2 Replies)
Discussion started by: vikashtulsiyan
2 Replies
5. Programming
I have C++ exe file( no source code) and need to run many large dataset under unix, but how to know the memeroy usage for one dataset?http://www.codeproject.com/script/Forums/Images/New.gif
I think "top" is not good and if using the profiler, it seems no free download, any ideas? (1 Reply)
Discussion started by: Danielwang1986
1 Replies
6. UNIX for Dummies Questions & Answers
Hi, I've got this requirement for my homework assignment, but I'm not sure how to meet it:
In the comamnd line, I need to type
$ <exec-file> <input> <output_file_name>
Like:
test 1+2 out.txt
Which should execute test.exe passing in 1+2 and directing output to out.txt.
I know how... (1 Reply)
Discussion started by: JustinT
1 Replies
7. OS X (Apple)
Hello all,
I am looking for some help with running a unix executable file using Apple Remote Desktop or Terminal with no user intervention. I am able to create a packate that can copy the file to the machine using ARD but I would like to copy the file and run the command with out the users... (1 Reply)
Discussion started by: dam1197
1 Replies
8. Shell Programming and Scripting
Hi
I have a open source tool called table text comparator
Link to download that tool: http://www.nirsoft.net/utils/csv_file_comparison.html
I wish to run this tool in our unix servers. In windows O.S i just have to unzip and i can use this tool by running the .exe file. So i want to know how... (6 Replies)
Discussion started by: Ganesh_more
6 Replies
9. Shell Programming and Scripting
Good morning ..,
I have a problem to run my object program. Before, I run my program in cygwin and there is no problem. When I tried in linux (ubuntu), the terminal said that space.exe : command not found.
this is the code in my shell
space.exe gr1
result
space.exe: command not found... (2 Replies)
Discussion started by: weslyarfan
2 Replies
10. Solaris
Hi,
I want to run putty.exe in Solaris server.My main aim is to invoke the putty.exe in Solaris server from a web application(.jsp) deployed in the server so that putty terminal should open.
Thanks in advance (11 Replies)
Discussion started by: chaithanyaa
11 Replies
LEARN ABOUT PHP
bcompiler_write_exe_footer
BCOMPILER_WRITE_EXE_FOOTER(3) 1 BCOMPILER_WRITE_EXE_FOOTER(3)
bcompiler_write_exe_footer - Writes the start pos, and sig to the end of a exe type file
SYNOPSIS
bool bcompiler_write_exe_footer (resource $filehandle, int $startpos)
DESCRIPTION
An EXE (or self executable) file consists of 3 parts:
o The
stub (executable code, e.g. a compiled C program) that loads PHP interpreter, bcompiler extension, stored Bytecodes and initiates
a call for the specified function (e.g. main) or class method (e.g. main::main)
oThe Bytecodes (uncompressed only for the moment)
oThe bcompiler EXE footer
To obtain a suitable stub you can compile php_embed-based stub phpe.c located in the examples/embed directory on bcompiler's CVS.
PARAMETERS
o $filehandle
- A file handle as returned by fopen(3).
o $startpos
- The file position at which the Bytecodes start, and can be obtained using ftell(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
bcompiler_write_exe_footer(3) example
<?php
/* creating the output file (example.exe) */
$fh = fopen("example.exe", "w");
/* 1) writing a stub (phpe.exe) */
$size = filesize("phpe.exe");
$fr = fopen("phpe.exe", "r");
fwrite($fh, fread($fr, $size), $size);
$startpos = ftell($fh);
/* 2) writing bytecodes */
bcompiler_write_header($fh);
bcompiler_write_class($fh, "myclass");
bcompiler_write_function($fh, "main");
bcompiler_write_footer($fh);
/* 3) writing EXE footer */
bcompiler_write_exe_footer($fh, $startpos);
/* closing the output file */
fclose($fh);
?>
NOTES
Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in
a future release of PHP. This function should be used at your own risk.
SEE ALSO
bcompiler_write_header(3), bcompiler_write_class(3), bcompiler_write_footer(3).
PHP Documentation Group BCOMPILER_WRITE_EXE_FOOTER(3)