Thread command in windows
The renaming command helps change file names or directories.Basically, this command is similar to therenamecommand.To learn more about how to use this command, see the example section below.
Syntax command syntax
lace [:] []
rename [:] []
Thread command parameter
Parameters
Describe
[:] []
Specify the location and name of the file or set of files you want to rename.The parameter FileName1 can include wildcards (* and?).
Specify a new name for the file.You can also use wildcards to specify new names for multiple files.
/?
Show help at thecommand prompt.
Remarks command rem
You will not be able to specify a new drive or path when renaming the file.
You will not be able to use the ren command to rename the file on the drive or move the file to another folder.
You can use wildcards (* and?) In the FileName parameters.The characters represented by the wildcard characters in FileName2 parameter will be the same as the corresponding characters in the FileName1 parameter.
FileName2 must be a unique file name.If FileName2 matches an existing file name, the ren command will display the following message:
Duplicate tên tập tin hoặc không tìm thấy tập tin
Example lace command
To change all .txt file name extensions in the current directory to .doc format, enter:
lace * .txt * .doc
To change the directory name from Chap10 to Part10, type:
lace chap10 part10
See more:
- Change any file or folder name in Windows
- Discover new features in Windows Server 2019
- Learn about Windows Server 2012 (Part 1)
You should read it
- Multithread (Multithread) in C #
- What is thread? Differences between Process and Thread
- Set command in Windows
- Del command in Windows
- Rem command in Windows
- Cmd command in Windows
- Command at in Windows
- Setx command in Windows
- Fc command in Windows
- The echo command in Windows
- Bitsadmin getdisplayname and bitsadmin geterror command in Windows
- Reg command copy in Windows