Last active
January 28, 2020 12:40
-
-
Save kimgnu/80a3bf6a59e214df395ef0d655f6d152 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
set OutputPrefix=AllData | |
set OutputFile="%OutputPrefix%.csv" | |
type nul > %OutputFile% | |
forfiles /s /c "cmd /c if @ext==\"csv\" if @file NEQ \"%OutputFile%\" for /f \"delims=\" %%L in ('type @file') do @echo %%L,@file,@fdate,@ftime >>\"%OutputFile%\"" | |
endlocal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment