LoginSignup
0
0

More than 3 years have passed since last update.

bor7

Posted at

@echo off

setlocal ENABLEDELAYEDEXPANSION

rem 拡張子が「.txt」のファイルを対象に繰り返す

set box=C:\Users\81805\Desktop\作業フォルダ\

set /a num=0

for %%a in (%box%%1*) do (

set /a num=num+1

echo !num!:個目%box%%%a

)

echo 合計:!num!個

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0