@echo off
set work_path=%cd%
@echo %work_path%
D:
cd %work_path%
for /r %%s in (.,*) do (
echo>>%work_path%\imglist.txt %%s
)
set work_path=%cd%
@echo %work_path%
D:
cd %work_path%
for /r %%s in (.,*) do (
echo>>%work_path%\imglist.txt %%s
)