We often need to organize documents during the process of using Win10 computer, then we need to create multiple folders for classification. It is very troublesome to create one by one, so is there any way to create new folders in batches? In fact, in the Win10 system, we can use the PowerShell that comes with the system to create new folders in batches. Let's take a look at it with Xiaobian.
follows:
1, first found in the Windows start menu PowerShell, and click to open, as shown below:
2. Switch to the directory where you need to create a new folder by using the command. For the switch command, refer to the following figure:
PS: The command is not You can also switch without cooking. After moving, you can move directly to the target location.
3. After switching to the desired directory, use the following command to complete the batch creation:
mkdir $(1 ..10 |
%{"IThome$_"})
Note: In the above command, “1..10” is the serial number of the batch folder, indicating that the naming is an integer from 1 to 10. These numbers can be customized; the content inside the curly braces {} is the text before the serial number, which shows "IThome", and these words are also customizable, “$_” The number before the generation. As can be seen from the above figure, the number is replaced by “11..20”
After executing the command, you can get the following picture:
Tips: When copying and pasting the above commands, some versions of PowerShell may have display problems, so be sure to display them. If there is no problem with the text, execute the command (the cursor will be corrected to the wrong character), otherwise an error will be reported.
The above content is a small series for everyone to bring Win10 system using PowerShell batch new folder method, a very practical small skills, we must master! Hope can help everyone!
A lot of users computer is slowed down with the use of it, more and more cards, open the resource m
Win7 users sometimes need to print some files, can they be set to share files with the printer? This
About Win7/Win8.1 free upgrade Win10 version correspondence, Microsoft has long announced that Win7/
The day before yesterday, Microsoft officially launched the desktop version of Windows 10 Build 1015
Windows Hello Demo Win10 new unlocking method
Win10 Build 10074 app store update: more powerful
After win10 login, the desktop is black but the program can be opened. What should I do?
Win10 headphones and speakers can not automatically switch the solution
Vmware7 virtual machine installs Win10 to run multiple systems at the same time.
Win7 installation CAD software installation is not on every installation prompt error 1327
Win7 system can not modify the read-only property of the folder setting method graphic tutorial
How does the windows system delete the system extra boot items?
How to quickly solve the problem of deleting the files in the Win7 system?
The official version of the RTM 36 languages leaked image download package
Online driver detection before Windows 7 installation
How to set Chinese language in Win10
In-situ upgrade case analysis of Windows XP
Win7 system tips network folder also into the "library"
Seven reasons for people to love the Windows7 system
Microsoft executives: Xb1 exclusive will not log in to Win10
How to add local weather alerts to Win10 Cortana
Microsoft official U disk installation win7 tools
How to solve Win8 system update installation failure problem