Answer the question
In order to leave comments, you need to log in
What snippet in .bat (cmd) to find in the file.db directory and copy it to another folder?
You need to find file.db in the d:\aaa directory with a batch file, be sure to search in subfolders. and copy it to d:\eee
Answer the question
In order to leave comments, you need to log in
You can search like this:
for /f "tokens=* delims=" %%a in ('dir /b /s d:\aaa\file.db') do (
echo.%%a
)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question