exe

Using the call '&' operator with multiple parameters

╄→гoц情女王★ 提交于 2021-02-13 17:35:52
问题 $sImageMagickHome = "C:\ImageMagick" $sImageMagickConv = "$sImageMagickHome\convert.exe" $sImageMagickArgs = @( '--%', '-background transparent', '-fill hsb(0,0,0)', '-font Arial', '-pointsize 18', '-size 18x26', '-gravity center') for ( $i = 0x01; $i -le 0x05; $i++ ) { $y = [char]$i & $sImageMagickConv $sImageMagickArgs label:$y $sCharsDir\$y.png #Write-Host $sImageMagickConv $sImageMagickArgs label:$y $sCharsDir\$y.png } Using Write-Host I can get an example to copy paste into the command

Determining if the running executable has IMAGE_FILE_LARGE_ADDRESS_AWARE?

狂风中的少年 提交于 2021-02-11 13:54:30
问题 Is there some sort of Windows API or other reasonably straightforward way to determine whether or not the currently running program has IMAGE_FILE_LARGE_ADDRESS_AWARE enabled? I know that I can open up the process's exe as a file, read its header information, and parse it somewhere out of there, but if there's some cleaner way to do it, I'd like to know. To be clear: I am talking about the currently executing process - i.e. I want to write code that detects this flag (or lack thereof) for its

How To Run A Downloaded File From Memory? [duplicate]

天大地大妈咪最大 提交于 2021-02-08 14:00:07
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Load an EXE file and run it from memory using C# I am using the WebClient class to download a .exe from a web server. Is there a way that I can run the .exe without saving it to disk first? For the purpose of completeness let me show you what I have so far. Here is the code I use to start the download: WebClient webClient = new WebClient(); webClient.DownloadDataCompleted += new DownloadDataCompletedEventHandler

Changing the icon of an exe file in windows 7 [closed]

北城余情 提交于 2021-02-08 12:17:58
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Improve this question How can i change the icon of an exe file in windows7.I am asking about changing the icon of application itself not shortcut because i know that there is a way to change the icon of a shortcut. 回答1: Resource Hacker can do this. How to Modify the Icon of an .Exe

Changing the icon of an exe file in windows 7 [closed]

余生颓废 提交于 2021-02-08 12:17:15
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Improve this question How can i change the icon of an exe file in windows7.I am asking about changing the icon of application itself not shortcut because i know that there is a way to change the icon of a shortcut. 回答1: Resource Hacker can do this. How to Modify the Icon of an .Exe

Creating Executable File For Python 2.7

故事扮演 提交于 2021-02-08 06:54:19
问题 I want to make an executable file from a python file the python file is written for Python 2.7. I tried pyinstaller but it gives me an error when installing. I'm guessing it does not have support for Python 2.7 anymore. Are there any alternatives for pyinstaller that work with Python 2.7? I tried installing cx_Freeze version 5.1.1 but it gives me the following error: Cleaning up... Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\win-10\\appdata\\local\\temp

Creating Executable File For Python 2.7

懵懂的女人 提交于 2021-02-08 06:53:25
问题 I want to make an executable file from a python file the python file is written for Python 2.7. I tried pyinstaller but it gives me an error when installing. I'm guessing it does not have support for Python 2.7 anymore. Are there any alternatives for pyinstaller that work with Python 2.7? I tried installing cx_Freeze version 5.1.1 but it gives me the following error: Cleaning up... Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\win-10\\appdata\\local\\temp

Can't get python exe to run

安稳与你 提交于 2021-02-08 03:36:26
问题 So i'm having issues getting my python 3.5 script to run as an exe. Here is the code I am using: import base64 import imaplib import json import smtplib import urllib.parse import urllib.request from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText import lxml.html GOOGLE_ACCOUNTS_BASE_URL = 'https://accounts.google.com' REDIRECT_URI = 'urn:ietf:wg:oauth:2.0:oob' GOOGLE_CLIENT_ID = '<FILL ME IN>' GOOGLE_CLIENT_SECRET = '<FILL ME IN>' GOOGLE_REFRESH_TOKEN = None

How to run exe files in NSIS Script?

﹥>﹥吖頭↗ 提交于 2021-02-06 08:49:26
问题 In InnoSetup, there is a part called run which will execute the exe, batch file and msi. We can also give command line parameters to this run. I provide the Innosetup sample: [Run] Filename: "{app}\msdirent.exe "; Filename: "msiexec.exe"; Parameters: "/i ""{tmp}\NETCFSetupv2.msi""" ; Check:ShouldInstallComCtlUpdate ; But in NSISS Script, how to run my exe and also I have to provide command line arguments to the concerned exe? 回答1: Try the following commands Exec "$APPS\msdirent.exe" For

How to run exe files in NSIS Script?

倾然丶 夕夏残阳落幕 提交于 2021-02-06 08:47:42
问题 In InnoSetup, there is a part called run which will execute the exe, batch file and msi. We can also give command line parameters to this run. I provide the Innosetup sample: [Run] Filename: "{app}\msdirent.exe "; Filename: "msiexec.exe"; Parameters: "/i ""{tmp}\NETCFSetupv2.msi""" ; Check:ShouldInstallComCtlUpdate ; But in NSISS Script, how to run my exe and also I have to provide command line arguments to the concerned exe? 回答1: Try the following commands Exec "$APPS\msdirent.exe" For