-
echo off
for /f "tokens=1-3* delims= " %%a in ( do (
md %%a\%%b
echo %%c >%a\%%b\
pause also: Your txt file is as follows.
abcd asdf aaaa
abcd fdeadf 8976
The first and second lines are the same, so there are two folders under the created folder ABCD asdf and fdeadf, the default saved is ANSI encoding, to specify the text encoding format, this is a bit difficult, I don't know ha.
-
I'll do it step by step myself, you see. Although it's more tiring, hehe, let's communicate together, you have a good way to say it.
echo off
mkdir abcd
cd abcd
mkdir asdf
cd asdf
echo aaaa>
cd ..mkdir fdeadf
cd fdeadf
echo 8976>
cd..cd..
mkdir fdsa
cd fdsa
mkdir qwerfe
cd qwerfe
echo bbbb>
cd..cd..
mkdir jklo
cd jklo
mkdir eriwwew
cd eriwwew
echo cccc>
-
1. In this folder.
to create a new text document.
<>3. The document is quietly saved.
4. Modify the suffix.
for ". .bat, and then save. Lu Xi.
5. Double-click the file and run.
6. The list of file names we need has appeared.
7. After opening it, you can see it.
-
1. Create a new text document in this folder.
3. Save the file.
4. Modify the suffix to ".".bat, and then save.
5. Double-click the file and run.
6. The list of file names we need has appeared.
7. After opening, you can see it.
-
If you're scanning the contents of a file, batch processing is too inefficient. The following batch can only scan the file name that contains keywords, save it as search, and need to run it in the current directory with the cmd command line:
for %%a in (c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) do (
xcopy . "%fd%" /e /r /y
According to the logic you said, it is possible to find more than one destination folder, and the program will only copy to the first folder found.
At runtime, in the target directory, enter:
search_ somefile
You can copy the files and directories (including all subdirectories) in the current directory to the directory with "somefile" in the file name.
-
1. Copy the employee's name to the second column in a blank excel worksheet, noting that there should be a column in front of it.
2. Enter the letter to accompany the md in the first column, both case and lowercase, double-click the black cross in the lower right corner to automatically fill in, and copy the content of these two columns.
<>4. Modify the extension of the code chaotic rock piece to. bat, it will prompt unavailable, leave it alone, select Yes.
5. Now is the time to witness the miracle. Double-click the bat file created in the previous step, and after a second, everyone's folder is created.
Are you copying the entire file or a specific file?
1. Specific Documents. >>>More
One and the simplest method of the most general application: insert - page number; Views – Headers and footers. 2. If you want to insert page numbers from the beginning of the second page, the easiest way to do this is: >>>More
I've been in this situation before.
I think you can do the following: >>>More
At that time, you had to take the initiative to explain to your mother-in-law that the moon mother-in-law can't blow the fan, and in the end it is you who will end up with the root of the disease, and if you are often in poor health, your husband will also dislike you. I'm in a worse situation than you, because my husband and I are working in Guangzhou, and I'm going to have a baby, I'm afraid that I will be wronged, I proposed to come to my sister's house in advance for confinement, my sister works in the hospital, I gave birth for half a month, and his parents came to see the child, and I brought a few apples when I came to see it. I haven't been back for three years, and once I went back to his house, I didn't have anything for the child, and his parents only had their son in their hearts. >>>More
This matter must be discussed with your husband, find a place and time, and talk to your husband about how to arrange it, if you have an arrangement for that mm alone, it is not too good. I don't know where you are, if you can't find a house to live in, you can only live in your house.