The jar package is packaged as an EXE sample descriptionFor a MAVEN-based Java project, it is usually packaged as a jar,If you want to package the jar file as an EXE file, you only need to add a plugin to the Pom.xml configuration file.Here we use launch4jEnvironment
jdk1.8
Maven 3.5.2
Main methodThe logic is simple, that is, if the command line has parameters, print the first parameter of
Behavior:
1. To release a file:
C:\WINDOWS\system\SERVICES. EXE 65536 bytes
C:\WINDOWS\system\SYSANALYSIS. EXE 65536 bytes
C:\WINDOWS\system\explorer.exe 976896 bytes
2. To delete a backup file:
C:\WINDOWS\system32\dllcache\explorer.exe
3. Overwrite system files: C:\WINDOWS\explorer.exe
When the system starts, execute the virus body first, then execute C:\WINDOWS\system\explorer.exe.
4. Rename file as:
This example mainly realizes the function that VB calls the external EXE program to run, this is mainly uses the Shell function to execute, the shell function is mainly used to open an external exe executable file, for example, in sub module: Shell "Notepad", Vbnormalfocus, the representative to run Notepad in normal mode, Vbnormalfocus is the shell parameters, meaning normal mode, of course, it also has vb
1. Restart the computer
2. Press F8 into Safe mode,
3. Open cmd in Safe mode, enter:
1
AssoC space . EXE=Exefile carriage return >
4. When ". Exe=exefile" is displayed on the screen, close the command Prompt window
5. Press Ctrl + ALT + Del combination to bring up the Windows Security window, press the "Shutdown" button and select "Reboot" option,
6. After the normal mode t
Dotnet Core has a transformation, he uses the DLL format instead of EXE as the general execution format, and then the command line dotnet YourApp.dll to run the program. To increase the force, double-click to run, you can use the following scenarios:Scenario one with BAT fileYou can write a bat to execute, such as the Mylib.bat file content:@dotnet Mylib.dll@pauseScenario two releases the specified operating environmentWith command line: dotnet publis
Using Cx_freeze to package the py file into exe (picture and text) 2011-09-10 13:18:51 Tags: cx_freeze python pack to remove black window casual Wolf Dance original works, allow reprint, reprint, please be sure to hyperlink form to indicate the original source of the article, Author information and this statement. Otherwise, legal liability will be held. http://keliang.blog.51cto.com/3359430/661884
Python is a very, very good programming language, and
Recently in the study with installshield2010 for their own products to do packaging, their own online find write information, toss, and finally made an EXE installation package, want to modify the EXE file icon, found basic MSI project Unable to modify with installshield2010 (anyway), finally found a good way: With Microsoft Visual Studio can be modified. The modification method is as follows:
1. Open VS20
problem, the whole program runs, and there is a command line running window! That's weird, right? It doesn't matter, then write a VBS file (let's name it Run.vbs, it can start at random):
Copy Code code as follows:
Set Wshshell=createobject ("Wscript.Shell") wshshell.run "cmd.exe/c Run.bat", 0,true
Set Wshshell=createobject ("Wscript.Shell")
Wshshell.run "cmd.exe/c Run.bat", 0,true
This code is primarily used to execute Run.bat files, and to hide that hateful comma
Today set up a Windows Server 2003 Web server, found that after opening the Web page can not download the. exe file in the website, after the research problem can be solved, to make a memo.
The workaround is simply to set the Execute permission in the site properties to "plain Script" in IIS.
Attachment: Windows Server 2003 server cannot download exe-suffix file solution
In the actual operation, only the
Wndows XP's "weight" has become a "big fat man" compared to other systems. Optimized "slimming" skills are already covered by major it newspapers and magazines, looking at Windows XP "Windows" of hundreds of DLL (dynamic link library) files, to make the system more refreshing, We can use the Regsvr32.exe program to re-register the repair and anti-registration screen system functions to reduce system resources.
Regsvr32.
1. Static checkThere is a tool symchk.exe in the WinDbg Debug Toolkit with a lot of options, and the following simple usage can check if a test.exe is able to find the PDB that matches it:This is the case for success. Here's a comparison of failures:2. If you are already inside WinDbg, you can check the following commandThe last line says MATCH, certainly no problem.3. In WinDbg (not in VS), if you are 100% sure that the source code has not changed, it has just been recompiled.You can turn off b
The experience of software calling EXE and DLL files in Delphi programming,
Experiences of software calling EXE and DLL files in Delphi programming
I. DefinitionThe EXE file is a complete "Windows form application" or "console application", which can be executed independently and called by the main EXE. It is composed
Sxs2.exe virus to the system time to April 1, 1980, Kaspersky immediately stop work, with Autorun connection Sxs2.exe program, the computer was planted.
Copy the following text into the text document and save as "clean sxs2.bat" and double-click to run.
Copy Code code as follows:
@echo off
Color 1a
Echo.
Echo Welcome to use
Echo.
echo this program mainly to deal with Sxs2.
This program is d by the V0 virus modification upgrade and comeTo have a certain contagious ability under DOS; 32-bit programming is applied in this program part; The production method is as follows; Tasm32 Dv1;; Tlink Dv1;;D Ebug Dv1.exe;-N dv1.com;-W; q; finally generate the Dv1.com virus programOff Equ OffsetDOSMCB struc;D OS Memory control chain structure (partial)Flag db?; is ' M ' is not the last piece; is ' Z ' is the last pieceOwner DW?; is 00
JS invoke executable (EXE) file*************************************************************************************************************** ************************************************************************************************************************ *********1.0 use Java to invoke Windows system EXE files, such as Notepad,calc:public class demo{public static void Main (String args[]) {Runtime
Today in writing a method to download the document, testing the compatibility of the browser, found in the Mac's own Safari browser after the download of all the EXE file, looked for a long time to find it is their own download method in the Content-type settings have a relationship
When Content-type is set to text/html, the downloaded file is automatically added with the suffix. html
When set to Application/x-msdownload, the downloaded file
Online look for a bit, probably can summarize hasMethod One:To change the icon, you can see the ID value of each resource after opening in Resource.h, general MFC Auto-generated IDR_MAINFRAME is 128, it will add more than 128, the sequential delay, compile by default will be the smallest ID as exe icon, So as long as we can change it, or the above dialog box, change Idi_icon1 to 128, change the idr_mainframe to another larger number can not be too lar
I look at a tutorial that lets you run a command to register the DLL runtime, but the hint: check that the module is compatible with the Regsvr32.exe X86 (32-bit) or X64 (64-bit) version, what is the problem?
The error is prompted because in a 64-bit system, the Regsvr32.exe in the System32 folder where the Regsvr32 registration DLL runs is running, and this file is a 64-bit version, and the co
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.