C # Use ilmerge to compress all referenced DLL and exe files into an EXE file
Address: http://www.cnblogs.com/hongfei/archive/2013/03/14/2958627.html#2634561
Ilmerge:Http://www.microsoft.com/downloads/details.aspx? Familyid = 22914587-b4ad-4eae-87cf-b14ae6a939b0 displaylang = en
Install the SDK directly by default after the download. After installation, t
Directory1. Introduction to Commands2. Common parameter Introduction3. Example4. Direct access to the bottomIntroduction to CommandsZip is a widely used compression program under the Linux system, and the file is compressed with a ". zip" extension. The zip command is used to compress the file into a common zip format, and the unzip command is used to extract the zip file.Back to CatalogCommon parameters IntroductionThe common parameters of the zip co
Linux commonly used compression commands are gzip and zip, the end of the two compression packages are different: Zip compressed after the file is *.zip, and gzip compressed files *.gz
The corresponding decompression commands are gunzip and unzip.
gzip Command:
# gzip Test.txt
It will compress the file into a file test.txt.gz, the original file is not, the decompression is the same
# Gunzip Test.txt.gz
Encountered the database can not find the cause of the problem, can only find the log, find the log when the old log is compressed, only to try to extract the A large amount of data, only in production decompression, and then to find The file name is *.tar.gz, and your blog has previously documented the decompression method: Http://www.cnblogs.com/garinzhang/archive/2013/04/23/3037147.html Use TAR–ZXVF *.tar.gz can not decompress, obviously good tar.gz file can this decompression, why not
1. Download Nw.js, if it is the SDK version can debug the page, after the package will be able to debug has not tried, not the SDK, no debugging options, try it, the package after the same debugging.2. The files to be packaged and Package.json are placed in the Nw.js sibling folder, Package.json is the Portal configuration file, do not do well. First run the Nw.exe see if it can be normal operation, if normal operation can be packaged, to change the i
The last day I used the ILMerge ON THE Micrsoft official website to bind the exe and dll files.
Http://www.microsoft.com/downloads/details.aspx? FamilyID = 22914587-B4AD-4EAE-87CF-B14AE6A939B0 displaylang = en
However, the operation is completed in the CMD command line. It is unfriendly and you have developed a program for flexible operations.
This is the ILMergeEx I wrote:
The following describes how to
"); //get a ZipFile instanceZipFile ZipFile =Newzipfile (file); //Create a Zipinputstream instanceZipinputstream ZiS =NewZipinputstream (Newfileinputstream (file)); //Create a ZipEntry instance, lay the every file from//Decompress file temporarilyZipEntry entry =NULL; //a circle to get every file while((Entry = Zis.getnextentry ())! =NULL) {System.out.println ("Decompress file:" +entry.getname ()); //define the path to set the fileFile OutFile =NewFile ("c:\\zip\\" +entry.getname ()); //
Environment: WIN10 64-bit python3.7Single *.py file packagingPython GUI: program packaged as EXEFirst, install Pyinstaller, command pip install Pyinstaller, (uppercase P, knocking on the blackboard, to test)Second, packaging EXE steps:CMD enters the PY program project directory, executes the command: Pyinstaller-f-w--icon=xxx.ico main.py--noconsole. Where-F is the generation of a single EXE executable file,
The last day I used the ilmerge ON THE Micrsoft official website to bind the EXE and DLL files.
Http://www.microsoft.com/downloads/details.aspx? Familyid = 22914587-b4ad-4eae-87cf-b14ae6a939b0 displaylang = en
However, the operation was completed in the CMD command line. It was unfriendly and I developedProgram, Flexible operation.
This is the ilmergeex I wrote:
The following describes how to use the
Compressed Stream class:Gzipoutputstream and Zipoutputstream can compress data into gzip format and zip format respectivelyGzipinputstream and Zipinputstream can be compressed into gzip format or zip data extracted to restore the originalGzip is multiple files compressed into one file, Zip is a single file compression;D Multiple files compressed sequentially, Out.putnextentry is to compress the file's entry
Tags: packaging tar bulk packagingPackagedThe list of files to be packaged is put into c_list.txt, and if it is a database file, you can use show tables; commands to list the table names.#!/bin/bash# Bulk Package for I in ' cat c_list.txt ' do tar-jcvf $i. tar.bz2 $i. frm $i. MYD $i. MYI DoneBatch decompression:#!/bin/bash for i in ' ls./*.tar.gz ' does tar-zxvf $i >/dev/null doneReference article:http://blog.csdn.net/zgf19930504/article/details/51912
In this tutorial, I'll show you how to compress and decompress files within an iOS app. We will use a third-party library called Ziparchive to implement this function. Although there are other solutions for compressing and decompressing files, I feel that ziparchive is the fastest and easiest to use.Why do I need to unzip the file?That's a good question. There ar
1. Compress and Decompress commandsCommon compression formats:. zip,. gz,. bz2,. tar.gz,. tar.bz2,. rar. zip format compression and decompression commandsZip compressed file name source files: Compressed filesZip-r compressed file name Source directory: Compressed directoryUnzip compressed file name: Unzip. zip files. gz format Compression and decompressionGzip s
/// ///unzip the RAR and zip files (there is a need for Winrar.exe (as long as you can extract or compress files on your computer Winrar.exe))/// /// Save directory after extracting files /// The file to be extracted is stored in absolute path (including file name) /// whether the e
extension:# Rpm2cpio file. RPM | cpio-Div12. Install files with the. Deb extension:# Dpkg-I file. Deb13. decompress the file with the. Deb extension:# Dpkg-Deb-fsys-tarfile file. Deb | tar xvf-ar PFile. Deb data.tar.gz | tar xvzf-14.files with the extension of .zip:# Unzip file.zipDecompress WinZip files in LinuxIf JD
above/tmp/etc.tar.gz files in the file?[Email protected] ~]# tar-tzvf/tmp/etc.tar.gz# because we use gzip compression, when we look at the files in the tar file,# you have to add Z to this parameter! It's important!Example three: Extracting/tmp/etc.tar.gz files under/USR/LOCAL/SRC[Email protected] ~]# cd/usr/local/src[[email protected] src]# tar-xzvf/tmp/etc.tar
Tags: Ota win and 3.1 htm str RAC OSI multiple
Original: Linux unzip multiple. gz or. tar.gz files at once
Unzip multiple compressed packagesFor extracting multiple .gz files, use this command:for gz in *.gz; do gunzip $gz; doneFor extracting multiple .tar.gz files
/p10404530_112030_ Linx-x86-64_1of7.zip2.unzip command cannot decompress more than 2G files by looking for a file with a 7z program that can decompress more than 2G of compressed packetshttp://pkgs.repoforge.org/p7zip/this address to download 7zip packageFirst, check whether Linux is 32-bit or 64-bit with the FILE/BIN/LS command:[Email protected] tmp]# file/bin/ls/bin/ls:elf 64-bit LSB executable, x86-64,
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.