Skip to content

Commit e36f8b8

Browse files
committed
extension.bat
0 parents  commit e36f8b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bat/extension.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@echo off
2+
rem サブフォルダも含めて拡張子のないファイルに拡張子を付ける
3+
set EXTENSION=csv
4+
5+
for /F %%A in ('dir /s /a-d /b *.') do rename %%A *.%EXTENSION%
6+
@echo on

0 commit comments

Comments
 (0)