FORFILES/S/M *.doc/c "cmd/c echo @fsize"
forfiles/m *.txt/c "cmd/c if @isdir ==false notepad.exe @file"
Here are some examples===============================================================================
The following is the deletion of the batch of backup files N days ago, note: Under Windows2003, such as XP because there is no forfiles.exe, no test copies of 2003 of files to the XP system32 directory
When we use system analysis software such as hijackthis and pe_xscan to find suspicious files or virus files, we need to compress these suspicious files and virus files in different folders, it is troublesome to write a BAT file! Now, we can use the "file batch processor/bat_do" to conveniently complete these tasks for us!
0. Directory==============1. Basic Progr
MySQL text file import and batch processing mode Application Description bitsCN.com
1. Load Records in text files into mysql database tables(1) text file format: one record per line. The field values are separated by the tab operator. The field order is the same as the order in the table definition. uncertain field values are represented by/N;
(2) load data loc
Use:Make the intranet of the Linux host, get the common account password, batch log in, upload the System Information collection script, pull the result of execution back to the local, for analysis.Disadvantages:Do not support multi-threaded password must be properly cut to connect port hard coded to 22 if not 22 please modify it yourselfExecution process:Executing ssh.py root root automatically logs in to
Linux network-based batch installation tutorial, DHCP server + TFTP server + FTP Server + Kickstart file,
Preparation:
DHCP server
TFTP Server
FTP Server
Kickstart File
A client with a pxe rom chip that supports Network startup, that is, a bare metal that requires system installation
Linux image files
Here, a host provides DHCP, TFTP, and FTP services at the same
Ec (2); today, we use the php tutorial rename and str_repleace to Perform Batch Object Name replacement. I hope you can check it out. $ DirD: ProgramFilesresourceapplicationSkinPNG: programFile script ec (2); script
Today, we use the php tutorial rename and str_repleace to batch replace
You can use the ProtocolBuffer compiler protoc. proto generation *. pb. cc C ++ code file. however, in projects with pre-compiled headers, you often need to manually add stdafx-like files. h. here we use batch processing to complete this process:
BuildProtoCC. bat
@ Echo off
Set protofile = % 1%. proto
Set output_cc = % 1%. pb. cc
"Protoc.exe" % protofile % -- cpp_out.
@ Echo use % protofile % to genera
the cloning process.
In my case, I created a directory named Ghost on drive D, and backed up the image file in Zone C with the name sysbak. gho. The content of the two batch files is as follows:
Sysback. BAT (Backup ):
Ghost-clone, mode = pdump, src = 1:1, DST = D: \ ghost \ sysbak. GH1/FX/Z9/Sure
Revert. BAT (recovery ):
Ghost-clone, mode = pload, src = D: \ ghost \ sysbak. GH1, DST = 1:1/sure/Rb
· Detail
How to use:
1 Closing the browser
2 Executive Un3721.bat
3 Re-execution Un3721.reg
4 Reboot the computer, basically the rubbish is deleted
5 If there is a small amount, restart the computer into Safe mode operation, or look at the help note in the. bat file,
Un3721.bat
Copy Code code as follows:
REM Cut off all rogues, let us wait for the Internet spring ~_~
REM needs to be modified according
Batch operation of remote host scripts (command execution, file upload and download) Written in Python 12:53:44Tags: Servers
Script
SSH
Python
Centralized management of original works, reprinting allowed, please be sure to mark the article in hyperlink form during Reprinting
Original source, author information, and this statement. Otherwise, legal liability will
There are a lot of times we need to do this, but the most important part of this function is in the processing of pictures. If you want to bulk modify the filename, then you can look at the "Win7 practical small function of a key to complete the batch to change the photo name ."
1
Preparation for batch modification of file suffixes:
All the files that need t
Batch remove the PHP code of bom in the PHP file. To remove the BOM, place the tool. php file in the attachment to the target directory and access tool. php in the browser! Copy the code as follows :? Php: This file is used to quickly test UTF8 encoding. to remove BOM, put t
Batch implementation multi-threaded execution command list Work encountered multi-threaded execution command List of the situation, research, write out to share with you. Master saw also please point, teach some easier way. Batching is a simple single-threaded script that executes the next command only after the last command has been executed. If the previous command takes a long time to execute, such as a
Small knitting here today to share a simple small method, homemade Bat Batch command automatically generate file list to facilitate one-time replication
Using a batch file to generate a list of files, friends will encounter the situation: Want to copy the name of all the fi
Background: This machine a file "A.TXT" in the C packing directory, need to upload to the FTP server "192.168.0.1" under the "X" directory
Copy Code code as follows:
@echo off
Set Ftpfile=putfiles.ftp
Set Logfile=putfiles.log
echo Open 192.168.0.1 > "%ftpfile%"
REM Change the username and password in the line below to your username and password
echo User username password >> "%ftpfile%"
R
1 loading records in a text file into a MySQL database table(1) Text file format: One record per line, the field values are separated by the tab locator, the field order is the same as the order in the table definition, and the indeterminate field values are represented by \ n;
(2) LOAD DATA local INFILE ' pet.txt ' into TABLE pet;
Note: If you are using a Windows editor, you should use the following:
LOAD
One B! A! 1235 @ _ s % # 8i 3 c.rar
H ^ e12 0 ~ % L %! P! @. S321-file .txt
% O %! O! Ffi9 ~ Ce $-Wor8d29 document .docx
Rename. bat
Figure 1:
You must run batch processing to remove all the numbers, Chinese characters, and special characters (including spaces) in the names of these three file names and rename them to files with only letters,
The suffix name can
How does Excel batch process modify file names? You can actually use a rename command ren in Excel to complete the batch file name. Below green tea Small series for everybody detailed demonstration under the operation step!
Excel2003ren commands combine batch to modify
this technique were rampant. Ah, shame. If you do not find any more "copy as path" in your right-click menu, what is your system? I am talking about Vista ~~~~~ (Have you followed the operation in XP? ^ _!)
However, I think this feature is also needed when I use XP many times, so I also found a simple implementation method on Google. Original article: http://www.winhelponline.com/blog/add-copy-as-path-opti
I directly transitioned from vc6 to vs2010, but vs2008 was never used. In vs2010, it is too troublesome to manually copy the DLL, Lib, And. H files to the specified folder after the DLL is generated.
========================================================== =
This article is original. For more information, see the source.
Link: http://blog.csdn.net/wlsgzl/article/details/39008157
----------------------------------- Show the love of the fast -----
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.