Xcopy is a very useful Doc command and should learn to learn!
Can be implemented with Xcopy, for example:
C:\>xcopy c:\ppt\*.* D:\ppt\/s/e
The meaning of this order is to copy all the PPT folders under C disk to D disk.
XCOPY also has a number of functions that are added to the parameters to complete. The effect of the
I don't know how many other people will use the batch processing command. There are some convenient and practical functions.
Xcopy also has many functions, which are completed by adding parameters. The above/S/e parameters are used to copy all subdirectories and empty directories. Some examples and parameter descriptions are as follows:1. If you just copy all files on the E:/disk to the D:/disk, enter "xcopy
xcopy--Directory Replication Commands1. Function: Copies all files in the specified directory and directory together with the directory structure.2. Type: External command3. Format: XCOPY [Source disk:]〈 source path name 〉[target drive:] [target pathname][/s][/v][/e]4. Instructions for use:(1) xcopy is copy extension, you can copy the specified directory files an
a.net Use IP address password/user:****** nbsp; b.xcopy file IP address nbsp; batch file is backup.bat with the following code: nbsp; ====================================================== =================================== nbsp; net use 192.168.1.198ipc$ zqf198703/user:royalpeak nbsp; xcopy nbsp; G:B Ackup*.* nbsp; nbsp; nbsp;192.168.1.198 data backup/d/e/y/h/k nbsp; net use 192.168.1.198ipc$/delete nbsp; with
Files, folder operations in batches, usage of the xcopy command.
One, build bat file automatically copy, delete command.
Example 1: Copy cd.dll file to Windows\System32 bat file contents:
Copy Code code as follows:
Copy Cd.dll%windir%\system32
Example 2: Uninstall the Cd.dll in the Windows\System32 directory, that is, delete the file copied above:
Copy Code code as follows:
Del%windir%\system32\cd.dll
Xcopy
Copy files and directories, including subdirectories.
Grammarxcopy Source [destination] [/w] [/P] [/C] [/v] [//////////////////////[///////////////////////L] h] [{/a|/m}] [/n] [o] [/x] [/exclude:file1[+[file2]][+[file3]] [{/y|/-y}] [/z]
parametersSource
Required. Specifies the location and name of the file to be copied. The parameter must contain a drive or path.
Destination
Specifies the target of the file to be copied. This parameter can
Simulate xcopy functions. Simulate xcopy functions? Php ************************************ system name: simulate xcopy function * program function: simulate xcopy function * development date: 20030314 ************* simulate xcopy function
/*********************************
xcopy how to Copy local files to a remote server
1.net use IP address password/user:******
2.xcopy File IP Address
The batch file is backup.bat with the following code:
=========================================================================================
NET use 192.168.1.198ipc$ Zqf198703/user:royalpeak
xcopy G:backup*.* 192.168.1.198 Data backup/d/e/y
You can use xcopy, that is, xcopy obt \ *. * c: \ windows \ obt \/S/EXcopy also has many functions, which are completed by adding parameters. The above/S/e parameters are used to copy all subdirectories and empty directories. Some examples and parameter descriptions are as follows:1. If you just copy all files on the E: \ disk to the D: \ disk, enter "xcopy E: \
a.NET use \\IP address password/user:******
b.xcopy file \\IP address \
The batch file is backup.bat with the following code:
=========================================================================================
NET use \\192.168.1.198\ipc$ Zqf198703/user:royalpeak
xcopy G:\backup\*.* \\192.168.1.198\ Data backup/d/e/y/h/k
NET use \\192.168.1.198\ipc$/delete
You can do it with the Xcopy command.
13. Security Settings for xcopy files that can be copied in WIN2000
If you copy a file elsewhere in nt4.0, the acl of the file will be lost. You must use the scopy.exe program in resource kites. The xcopy program under WIN2000 has several more parameters than nt4.0, you can copy the file security settings.
Xcopy Copies files and directories, including subdirector
Functions that simulate Xcopy
/*************************************
* System name: function to simulate xcopy
* Program function: Simulate the function of Xcopy
* Development Date: 2003/03/14
*************************************/
?>
Copy a direction ' s all files to another direction
function XCopy ($source, $destin
xcopy is copy extension, you can copy the specified directory files and directory structure, but cannot copy system files, use the source drive, source destination pathname, source file name at least one, select/s when the source directory and all the files under the subdirectory copy. Unless you specify the/e parameter,/s does not copy an empty directory, and if you do not specify the/s parameter, xcopy co
13, WIN2000 under the Xcopy can copy the security settings of the file
NT4.0, if the file is copied elsewhere, the file's ACL joy is lost, must use the resource Kit inside the Scopy.exe program, and WIN2000 the following Xcopy program than nt4.0 more than a few parameters, you can copy the security settings of the file.
Xcopy replicates files and directories, inc
Original article link
Copy directories and Their subdirectories and files (except for implicit and system files ).
Use this command to copy all the files in a directory, including all the files in the subdirectories of the directory.
Syntax:
Xcopy source [destination] [/y] [/-y] [/A |/m] [/D: DATE] [/P] [/s [/E] [/V] [/W]
Parameters:
SourceSpecifies the name and location of the file to be copied. It must contain the dr
Author: allyesno
Team: freexploit
Date: 2006-01-14
Both xcopy and copy are commands in windows.
The advantage of xcopy is that you can exclude unnecessary files or folders for copying.
However, this command is really not easy to use. It is not as simple as the help of windows.
Let's take a look at how xcopy is written.
/Exclude: file1 [+ file2] [+ file3]...
List
Both xcopy and copy are commands in windows.
The advantage of xcopy is that you can exclude unnecessary files or folders for copying.
However, this command is really not easy to use. It is not as simple as the help of windows.
Let's take a look at how xcopy is written.
/Exclude: file1 [+ file2] [+ file3]...
List of objects containing strings. Each strin
XCOPYis a copy extension that can copy the specified directory file and directory structure together, but not the system files, use the source letter, source destination path name, source filename, specify at least one, select/s when all files under the source directory and its subdirectories are copied. Unless the/e parameter is specified,/s does not copy the empty directory, and if the/s parameter is not specified, Xcopy copies only the files of the
Functions that simulate Xcopy
/*************************************
* System name: function to simulate xcopy
* Program function: Simulate the function of Xcopy
* Development Date: 2003/03/14
*************************************/
?>
Copy a direction ' s all files to another direction
function XCopy ($source, $destin
Simulate xcopy functions/************************************** System name: simulate xcopy function* Program function: simulates xcopy functions.* Development date: 2003/03/14*************************************/?>// Copy a ction's all files to another directionFunction xCopy ($ source, $ destination, $ child ){/
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.