Windows Tips Table of Contents List filename of a directory in txt file List filename of a directory in txt file dir /b >> fileListing.txt test (for %%i in (*.pdf) do @echo %%~ni >> PDF_LIST.txt) Delete node_modules npm install - g rimraf rimraf folder