mkdir targetDir
for /r %x in (*.dll, *pdb) do copy "%x" targetDir\
Use /Y at the end of the above command if you are copying multiple files and don’t want to keep answering “Yes”.
More Related Contents:
- Batch file v PowerShell script
- Is there an equivalent of ‘which’ on the Windows command line?
- Single line with multiple commands using Windows batch file
- Batch file to delete files older than N days
- What encoding/code page is cmd.exe using?
- How to run .sh on Windows Command Prompt?
- Run cURL commands from Windows console
- How can I determine whether a specific file is open in Windows? [closed]
- Stop and Start a service via batch or cmd file?
- Show a popup/message box from a Windows batch file
- ‘chcp’ is not recognized as an internal or external command, operable program or batch file. on a Windows PC
- How do I deal with quote characters when using cmd.exe
- How to create Windows EventLog source from command line?
- Windows command for file size only
- Command-line tool for finding out who is locking a file
- cURL POST command line on WINDOWS RESTful service
- Difference between $? and $LastExitCode in PowerShell
- List all environment variables from the command line
- Set window position of an application on Windows command line
- Get Folder Size from Windows Command Line
- How to create a Run As Administrator shortcut using Powershell
- Run a Command Prompt command from Desktop Shortcut
- Hide Command Window of .BAT file that Executes Another .EXE File
- How can I run Cygwin Bash Shell from within Emacs?
- Accessing a single file with multiple threads
- How to delete empty folders using windows command prompt?
- how to empty recyclebin through command prompt?
- Are there any XSLT processing command line tools? [closed]
- Windows batch script to delete everything in a folder except one
- How do I add/update a property inside an MSI from the command-line?