Find directory without files Windows -


i have directory tree. how list of directories without file xyz.xml using example batch scripting or windows browser? //if possible want save list of directories in excel file.

i have tried answer or tips, there unix, work on windows 10.

change file want check , root directory @ beginning of script.

@echo off  set "root_dir=." set "file=xyz.xyz"  /d /r "%root_dir%" %%# in (*) (     if not exist "%%#\%file%" echo %%# ) 

for not recursive search:

@echo off  set "root_dir=." set "file=xyz.xyz" pushd "%root_dir%" /d   %%# in (*) (     if not exist "%%~f#\%file%" echo %%~f# ) popd 

Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -