Questions tagged [executable]

An executable is a binary file that can be executed by the operating system.

An executable is a binary file that can be executed by the operating system.

3697 questions
69
votes
10 answers

Determining C executable name

When we are compiling a C program the output is stored in a.out. How can we redirect the compiled output to another file?
arun
68
votes
6 answers

run program in Python shell

I have a demo file: test.py. In the Windows Console I can run the file with: C:\>test.py How can I execute the file in the Python Shell instead?
daniel__
  • 11,633
  • 15
  • 64
  • 91
68
votes
18 answers

Hide Command Window of .BAT file that Executes Another .EXE File

This is a batch file in Windows. Here is my .bat file @echo off copy "C:\Remoting.config-Training" "C:\Remoting.config" "C:\ThirdParty.exe" This works fine except the .bat file leaves the command window open the whole time the "ThirdParty"…
JeffO
  • 7,957
  • 3
  • 44
  • 53
67
votes
7 answers

How can I find out if an .EXE has Command-Line Options?

Suppose you have an .EXE and you want to check if it has Command-Line Options. How can one know if the .EXE has this ability. In my case I know that Nir Sofers WebBrowserPassView.exe has the ability to start it via cmd.exe and WebBrowserPassView.exe…
JohnnyFromBF
  • 9,873
  • 10
  • 45
  • 59
67
votes
11 answers

How do I create executable Java program?

I have programmed a Java Program in JCreator, everything is done, but I want to create an executable file from it, ie I dont want to have to run the program by loading the java classes and compiling then executing, but instead have it as a stand…
Java
67
votes
5 answers

How do I compile a PyQt script (.py) to a single standalone executable file for windows (.exe) and/or linux?

I started to fiddle with PyQt, and made a "beautiful" script from the pyqt whitepaper example app (pastebin) It works perfectly in Windows and Linux (with qt environment already installed on both). Now my question is: Since I am trying to use Qt…
heltonbiker
  • 26,657
  • 28
  • 137
  • 252
61
votes
6 answers

Determine target ISA extensions of binary file in Linux (library or executable)

We have an issue related to a Java application running under a (rather old) FC3 on an Advantech POS board with a Via C3 processor. The java application has several compiled shared libs that are accessed via JNI. Via C3 processor is supposed to be…
59
votes
7 answers

How to compile a linux shell script to be a standalone executable *binary* (i.e. not just e.g. chmod 755)?

I'm looking for a free open source tool-set that will compile various "classic" scripting languages, e.g. Korn Shell, ksh, csh, bash etc. as an executable -- and if the script calls other programs or executables, for them to be included in the…
therobyouknow
  • 6,604
  • 13
  • 56
  • 73
57
votes
4 answers

Making an executable in Cython

Been playing with cython. Normally program in Python, but used C in a previous life. I can't figure out how to make a free-standing executable. I've downloaded cython, and I can make a .pyx file (that's just a normal Python file with a .pyx…
Paul Nelson
  • 1,291
  • 4
  • 13
  • 20
56
votes
4 answers

Java: export to an .jar file in eclipse

I'm trying to export a program in Eclipse to a jar file. In my project I have added some pictures and PDF:s. When I'm exporting to jar file, it seems that only the main has been compiled and exported. My will is to export everything to a jar file…
Adis
  • 804
  • 1
  • 9
  • 15
54
votes
17 answers

LINK : fatal error LNK1104: cannot open file 'D:\...\MyProj.exe'

Using Visual Studio 2010, when I build + run my application in short intervals I often get the following error. If I just wait a minute or two and try again it works fine. Unlocker claims no handle is locking the executable file. How can I discover…
Jonathan Livni
  • 101,334
  • 104
  • 266
  • 359
53
votes
15 answers

What are the uses of self modifying code?

Is there any real use for self modifying code? I know that they can be used to build worms/viruses, but I was wondering whether there is some good reason that a programmer may have to use self modifying code. Any ideas? Hypothetical situations are…
Niyaz
  • 53,943
  • 55
  • 151
  • 182
53
votes
6 answers

How to write and executable Windows .exe manually (machine code with Hex editor)?

I'd like to know how is it possible to write something as simple as an Hello World program just by using an Hex Editor. I know that I could use an assembler and assembly language to this at a near machine level but I just want to experiment with…
petersaints
  • 1,899
  • 3
  • 18
  • 25
52
votes
9 answers

Executable war file that starts jetty without maven

I'm trying to make an "executable" war file (java -jar myWarFile.war) that will start up a Jetty webserver that hosts the webapp contained in the WAR file I executed. I found a page that described how to make what I'm looking for: However, following…
twilbrand
  • 1,330
  • 5
  • 19
  • 27
49
votes
5 answers

How to tell if a .NET application was compiled in DEBUG or RELEASE mode?

I have an application installed on my computer. How do I find out if it was compiled in DEBUG mode or not? I've tried to use .NET Reflector, but it does not show anything specific. Here is what I see: // Assembly APPLICATION_NAME, Version…
Alex