Skip to content

Instantly share code, notes, and snippets.

@ellisda
Created December 3, 2015 18:08
Show Gist options
  • Save ellisda/70dbf6edc30116a3bae0 to your computer and use it in GitHub Desktop.
Save ellisda/70dbf6edc30116a3bae0 to your computer and use it in GitHub Desktop.
rem Recursively Copy all files matching "*.log" in all subdirectories of .
rem - Original Source: http://stackoverflow.com/a/11721037
pushd .
for /r %%a in (*.log) do (
copy "%%a" "c:\logs\%%~nxa"
)
popd
@ellisda
Copy link
Author

ellisda commented Dec 3, 2015

Useful way to grab ClickOnce installation logs from the INetCache folder when Explorer Search doesn't do what you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment