ignore files
Posted: 23 Nov 2010 00:52
for /f "tokens=*" %%n in ('dir /s/b %1\*mydir*') do call :A1 "%%n"
:A1
pushd %~1
for %%D in (*myfile*.txt) do ( for /f "tokens=1 delims=+" %%H in ("%%~nD") do (
.. do stuff
goto do
)
)
:do
..do stuff
popd
:end
In the for %%D in .. line, how to skip "*myfile*.txt files that has the word "EPQ" in them?.
:A1
pushd %~1
for %%D in (*myfile*.txt) do ( for /f "tokens=1 delims=+" %%H in ("%%~nD") do (
.. do stuff
goto do
)
)
:do
..do stuff
popd
:end
In the for %%D in .. line, how to skip "*myfile*.txt files that has the word "EPQ" in them?.