Skip to content
Snippets Groups Projects
Commit 4240b25c authored by ezsh's avatar ezsh
Browse files

Fix concatenation script to work with whitespaces in file names

parent a08c17fd
No related branches found
No related tags found
1 merge request!5917Fix concatenation script to work with whitespaces in file names
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
SET _LISTFILE="bin\list.txt" SET _LISTFILE="bin\list.txt"
>%_LISTFILE% (FOR /R "%~1" %%F IN (%2) DO echo "%%F") >%_LISTFILE% (FOR /R "%~1" %%F IN (%2) DO echo "%%F")
sort /O %_LISTFILE% %_LISTFILE% sort /O %_LISTFILE% %_LISTFILE%
>%3 (FOR /F %%F IN ('type "%_LISTFILE%"') DO ( >%3 (FOR /F "usebackq delims=" %%F IN (`type "%_LISTFILE%"`) DO (
echo /* %%F */ echo /* %%F */
type "%%F" type %%F
) )
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment