For what? /f? " delims= "? %%i? Are you online? (' dir/b? *.bat^|find? /c? /v? ".*"')? Do what? Settings? n=%%i
Echo? %n%
What if? %n%? gtr? 0? Settings? n= 1
Echo? Reset to? %n% The command of this example is to count the number of bat files in this folder.
Directory /b *. txt | find/c/v "。 The "*" enclosed in single quotation marks can be replaced by your command.