Originally posted by qwe1234567 at 2006-10-27 03:24 AM:
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
for /f "tokens=*" %%a in ('dir/a-d/b/oe') do set/a c+=1&set a!c!=%%a&set b!c!=%%~za&set c!c!=%%~xa
for /l %%a in (1,1,%c%) do set/ ...
Hahaha, thanks to the perfect codes from moderator qwe1234567. It was completely successful!!!
Here, I also want to thank electronixtar. My expression ability made him spend a lot of brain cells. But I also learned a lot of .bat knowledge. I will continue to ask electronixtar, the expert, in the future, but it will waste a lot of electronixtar's brain cells again -_-。^_^
I also want to thank he200377,大虾 lxmxn and others for their attention, otherwise my post would have sunk to the bottom of the sea!!!
!!!!! These words are so familiar!!! It seems like lines from *****TV.
^_^ Thanks to everyone. What the moderator qwe1234567 said is right. I carefully went out to check the house number. . . Depressed, I entered the wrong door! But I'll just settle here even if it's a wrong entry. Moreover, I still have some不懂的 places in the above code to ask.