Hello,
I have this script:
@echo off
setlocal
set /p dirName=Enter Directory Name:
for /f "tokens=3-4" %%v in ('dir "%dirName%" /s ^| find /i "file(s)"') do (
set bytes=%%v
)
echo Folder: %dirName% contains %bytes% bytes
pause
The problem is I want to import from a .txt file with various directory folders.
How can I do that?
Thank you!