exe

Capture return value of an .net EXE in an bat file

丶灬走出姿态 提交于 2019-12-08 05:53:37
问题 I am currently running an EXE application which is called from a bat file with some other exes. What iam trying to do is i want to return a value from EXE and pass it to an other EXE in bat file. I modified Main in my console to return type as an integer but unable to access value in Bat file except in ERRORLEVEL which i dont want to do as it may erase any potential errors. If i use ERRORLEVEL to capture return value for instance an error occured and it returns a error integer, how can i

How to launch .exe app with parameter uwp

≡放荡痞女 提交于 2019-12-08 05:28:52
问题 I know we can use LaunchFullTrustProcessForCurrentAppAsync(String) method and <desktop:Extension Category="windows.fullTrustProcess" Executable="fulltrustprocess.exe"> <desktop:FullTrustProcess> <desktop:ParameterGroup GroupId="SyncGroup" Parameters="/Sync"/> <desktop:ParameterGroup GroupId="OtherGroup" Parameters="/Other"/> </desktop:FullTrustProcess> to launch and send parameter to win32 app. But my big question is: How to receive that parameter in my win32 app (in my case win32 app is my

How to launch .exe app with parameter uwp

别等时光非礼了梦想. 提交于 2019-12-08 04:52:28
I know we can use LaunchFullTrustProcessForCurrentAppAsync(String) method and <desktop:Extension Category="windows.fullTrustProcess" Executable="fulltrustprocess.exe"> <desktop:FullTrustProcess> <desktop:ParameterGroup GroupId="SyncGroup" Parameters="/Sync"/> <desktop:ParameterGroup GroupId="OtherGroup" Parameters="/Other"/> </desktop:FullTrustProcess> to launch and send parameter to win32 app. But my big question is: How to receive that parameter in my win32 app (in my case win32 app is my Console Application). Does anyone has any help. thank you. Update for Stefan answer in win32 app always

How to sign code (.EXE file) with a .SPC or .PEM file from GoDaddy (using Ubuntu)? [closed]

蓝咒 提交于 2019-12-08 03:30:53
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I've seen a lot of questions and answers regarding this issue and I've tried all of them without success. Godaddy is only providing to me .SPC and .PEM files. Of course I have my .key file and the .csr that I used to request the certificate. Previously (with other code signing certificates provided by other

How to Run an .exe File in Python

痞子三分冷 提交于 2019-12-08 03:11:54
问题 I am trying to run a .exe file in python2.7. I have tried everything I could from searching it. Here are some code I have tried: subprocess.Popen(r"C:\Programs Files\Internet Explorer\iexplore.exe") And: subprocess.Popen(["cmd","/c",r"C:\Programs Files\Internet Explorer\iexplore.exe"]) And: os.popen(r"C:\Programs Files\Internet Explorer\iexplore.exe") All except the first one(which brings up a Windows Error) do not seem to run iexplore.exe. Is there another way to run an .exe file? 回答1: As

lauch4j hello world program

泪湿孤枕 提交于 2019-12-08 03:05:54
问题 I created a "hello world" java program and use lauch4j to convert executable jar to .exe file. When I tried to run it in cmd, but nothing printed out. I also tried to run it in launch4j. Log indicates: Executing: C:\Documents and Settings\cnbq84\Desktop\helloworld.exe. But still no "hello world" is displayed. How to display the "Hello World" msg? Thanks Here is my config file: <launch4jConfig> <dontWrapJar>false</dontWrapJar> <headerType>gui|console</headerType> <jar>C:\Documents and Settings

DirectX Release build works through VS2010, but not exe

随声附和 提交于 2019-12-08 02:32:27
问题 I've been dropping by Stack Overflow for a few years now via Google, but haven't asked/answered anything as of yet, so here goes. Basically I have a 3D rendering framework set up drawing models and terrain in DirectX 11. Everything works fine, with no problems when running either Debug or Release builds through Visual Studio 2010. However, when I navigate into my folders and run the executables independantly, only the Debug build works. The Release build displays whatever clear colour I have

py2exe - “The following modules appear to be missing”

偶尔善良 提交于 2019-12-08 02:14:52
问题 First time using stackoverflow so go easy please. I used py2exe before on my old computer and it worked fine. Unfortunately when trying to use it on my new one the exe. file just doesn't work. I get these errors when trying to convert the .py file. My setup .py from distutils.core import setup import py2exe setup(windows=['Test.py']) My Test.py to convert to exe. def Test(): print 'TEST' Test() The Errors I receive: The following modules appear to be missing ['IronPythonConsole', 'System',

visual studio not creating .exe

穿精又带淫゛_ 提交于 2019-12-07 23:15:49
问题 I am developing windows forms application in C#. It always produced .exe in \bin\release. But now it is not creating .exe file for this specific project. There is no error and even warning. I also checked the the build output folder and is the same. I tried build and rebuild solution. if I open other project and run it creates exe. build options: configuration= active release, platform= active any cpu, output folder= \bin\release, generate serialization assembly= auto, 来源: https:/

Java: embedding jar inside exe

爱⌒轻易说出口 提交于 2019-12-07 21:10:46
问题 Here is example to show what i mean: http://www.minecraft.net/download.jsp If you open the Minecraft.exe with winrar you can see the jar manifest and classes and you can actually launch the jar like this java -jar Minecraft.exe But when i tried to embed my jar to my own exe as resource (i can see the classes same way as in minecraft.exe with winrar) and launch it with java -jar it fails with message invalid or corrupt jar file How can i embed the jar to exe correctly? so it can be launched