Answer the question
In order to leave comments, you need to log in
How to find files by extension on all drives?
Good day. We need a script that will search all disks for files by extension and display their paths as separate variables. There are only pieces in my head.
View discs:
FOR /F "Tokens=1,2 Delims==" %%i In ('WMIC LogicalDisk Get Name^,VolumeSerialNumber /Value^|Find "="') Do if %%i==Name echo %%j&& set /a Count +=1
WHERE /R Диск *.txt
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question