Skip to content

Instantly share code, notes, and snippets.

@mkc188
Created March 12, 2019 08:18
Show Gist options
  • Save mkc188/17b809c22988a8979624ea14dd85d40f to your computer and use it in GitHub Desktop.
Save mkc188/17b809c22988a8979624ea14dd85d40f to your computer and use it in GitHub Desktop.
@echo off
FOR %%F IN (*.pdf) DO (
set filename=%%F
goto tests
)
:tests
set src=%filename%
set dst=%cd%
copy "%src%" "%dst%" >nul
for /d %%d in ("%dst%\*") do (
copy "%src%" "%%~fd" >nul
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment