Skip to content

Instantly share code, notes, and snippets.

@mechanoboyu
Last active March 4, 2018 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mechanoboyu/1c91a699388a1e72e21a8d6c16b56c25 to your computer and use it in GitHub Desktop.
Save mechanoboyu/1c91a699388a1e72e21a8d6c16b56c25 to your computer and use it in GitHub Desktop.
rem このbatファイルと同じ場所にある、拡張子がDWGのファイルのリストを、テキストファイルとして出力します。
rem 拡張子無しで、出力する仕様です。
pushd %~dp0
for /f "delims=" %%i in ('dir /b /a-d *.dwg') do @(echo %%~dnpi>> file-list.txt)
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment