how to compress folder into zip file

Discover how to compress folder into zip file, include the articles, news, trends, analysis and practical advice about how to compress folder into zip file on alibabacloud.com

VC open folder in Windows and select File

Online A senior man of a piece of the essence of code to let me in front of the light ...ShellExecute (NULL, "open", "Explorer.exe", "/select,c:\\a.txt", null, SW_SHOWNORMAL);This code is very useful, Mark here.There are other code on the Internet, such as the Shopenfolderandselectitems function, this function seems to be in most of the Windows Home language can be used, such as VB and C #, but the paramete

RM quickly deletes a large number of File/folder methods in Linux

Yesterday encountered a problem, in Linux there is a folder containing a large number of cache files (folders), the order of magnitude may be in millions, using RM-RF./* Delete Time is slow to unacceptable. Google for a while, found a way, the trial is really faster than the use of RM quickly a order of magnitude. Method See below: 1 Create a blank

How do I introduce the same PHP file in PHP with different folder depths?

Because the website needs, I want to introduce the www/includes/application_top.php in the www/sub/sub.php, but this will cause the path error, I use is zencart, ask this kind of situation how to do? Reply to discussion (solution) Introduction of www/includes/application_top.php in www/sub/sub.phpRequire '. /.. /includes/application_top.php '; It is recommended to post the error message for analysi

How to open an Excel file under a folder by using VBA code in turn

' Check public Function check () as Variant on Error GoTo erlb dim strdir as String st Rdir = Thisworkbook.worksheets ("Path"). Range ("B2") objfile = Dir (Strdir "\*.xlsx") thisworkbook.worksheets ("Result"). Activate with ActiveSheet . Range ("a2:b400"). Select '. Cells.select selection.clearcontents . Range ("A1"). Select end with application.screenupdating = False do while objfile icnt = 0 startrow = 9 with ActiveSheet for iRow = StartRow to MaxRow If Trim (ActiveSheet.Ce

Use batch to execute all SQL scripts in the folder and output the sqlplus content to the log file.

@ Echo off Rem "set the Infos below, then it can be completed MED ." Rem "========================================" Rem "Please set the path of SQL Files" @ Set script_path = C:/temp Rem "Please set the connection of DB server" @ Set db_conn = dbusername/dbpassword @ dbsid Rem "========================================" Rem "get the time string" @ Set times = % Date:/= % time: = % Rem "get the time string" @ Set tmpf = TMP % times :~ 0, 14%. SQL @ Set l

Open-source Chinese Android learning notes (4) XML file in the layout folder (c)

The prefixes of files starting with C are comment-comments, which tells us that this part of the Code explains the comment function. Not to mention nonsense, go directly to the topic. 1. comment_list. 2. comment_listitem: This is the body of the comments. It is a linearlayout layout. The following figure shows the user's profile picture, followed by a linearlayout. The following text shows the user name and a linearlayout, however, the linearlayout here is no longer the role of the previous spli

Python:check MD5 values for all files in a large file or folder

with hashlib.md5 Get the MD5 value of the open file, but when the file is very large, such as several g, will eat too much memory, there is no way to not open the file, get large file MD5 value? or given a specific folder, check out the MD5 value of all the files

Change the file and folder name in phpRename

The rename () command can be used to rename a file folder, and the command format for moving files and folders is as follows: Bool rename (string oldname, string newname [, resource context]) The following demonstrates the specific rename application: File location Purpose: 1.change cache.txt to rename.txt; 2.change cache2.txtname to cache3.txt 3. rename

PHP code for converting all file codes in a folder

The encoding of all files in the PHP conversion folder is suitable for other encoding versions released on the website. For example, if you have a GBK version, you want to have a UTF8 version or you only have the GBK source code. You want to develop it again, but you don't want to change it. you can use this program to convert the encoding method of IDE into UTF8 in

PHP code for converting all file codes in a folder

The encoding of all files in the PHP conversion folder is suitable for other encoding versions released on the website. For example, if you have a GBK version, you want to have a UTF8 version or you only have the GBK source code. You want to develop it again, but you don't want to change it. you can use this program to convert the encoding method of IDE into UTF8 in

Mount the ISO file to a folder in Windows

Linux is very convenient. What about windows? Windows has a mklink, junction and other link operations, I generally use linkshellextension http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html#contact, Windows mounting ISO to the folder can first use the virtual drive to mount ISO to the drive letter, and then from the drive letter to do a link to the folder. But the CD disappears, but the lin

Read all file code under the folder in ASP

The code is as follows Copy Code ' Set up file system objectsSet File_system=createobject ("Scripting.FileSystemObject")' Set up the current directory objectSet Cur_folder=file_system.getfolder (C_path)' Create a collection of subdirectory objects for the current directorySet Sub_folders=cur_folder.subfolders' Traversal of subdirectories collectionFor each each_sub_folder in Sub_foldersSub_

Change the user group (chgrp) to which the file folder belongs in CentOS)

It is easy to change the user group of a file. use chgrp directly. This command is the abbreviation of changegroup (change user group. This makes it easy to remember. However, remember that the name of the user group to be changed must exist in/etc/group. Otherwise, an error is displayed. Assume that you have logged on to FC4 as the root user, so there is an install. log

The meaning of file and folder permissions in Linux

Permissions for the file :  R : The actual contents of this file can be read .  W: Can edit , add , or modify the contents of the file ( but not delete the file), if there is no r permission, the W .  x : The file has permission to be executed by the system and can be delete

Copy files in a specific file format to a folder

A huge historical project, about 30G, including pictures, programs, attachments, pages, scripts and other requirements: only the actual use of the files in accordance with the original directory structure copy out through the jar input processing path, output path to use the use of knowledge points include: recursion, file filter, file read-write, regular express

Log folder log file contents in Linux

/faillog – Contains user logon failure information. In addition, the error login command is also recorded in this file. In addition to the above Log file, /var/log is also based on a system-specific application that contains the following subdirectories:/var/log/httpd/ or /

Find the last modified file in the specified folder

Public partial class mainform: Form{Datetime DT;String searchfileresult = "";Public mainform (){Initializecomponent ();} Private void form1_load (Object sender, eventargs E){Dt = datetime. now; } Private void menuitem6_click (Object sender, eventargs E){String S = searchfile ("// My Documents ");If (S = string. Empty)MessageBox. Show ("You have not modified the document ");ElseMessageBox. Show ("The Last modified file is" + S ); } Private string searc

The "Play Golang" Beego implements the transparent static file service (the static folder) effect in Martini.

This is a creation in Article, where the information may have evolved or changed. For reasons of efficiency, recently the web framework was switched from Martini to Beego, other places are smooth, but the handler signature of two frames is inconsistent and needs to be modified, so it takes a long time, which is expected. But there is a place that is not expected, but also takes more time, that is, the service of static files. Used Martini TX all know,

A tool for finding the same file in a folder through hashes)

Original article: http://www.codeproject.com/KB/files/DuplicateFinder.aspx Download source code: http://files.cnblogs.com/zhangjidong/DuplicateFinder_src.zip Introduction Once a year, I do a terrible job, clean up the files I have created or downloaded, and last time I tried to do this, I think it is complicated to do this in semi-automated mode. I need some free and easy-to-use tools to find duplicate files, but I didn't find anything

Java-gets the data in the. csv file and gets the number of objects contained under the folder

This screenshot is the path that the file is stored in

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.