Overview
When exporting is used in M-Files admin, the export package folder has files scattered over several folders and certain files are hard to find. This small batch file will move files to a single location to help with moving the files to another system, for example. PDF files are used in this sample, but it can be any other file type too.Solution
Create a .bat file with this content and run it from a command line: it will move certain files to a single location from an export package. Change paths to suit your package location and output folder:pushd C:\temp\export
for /r %%a in (*.pdf*) do (
MOVE "%%a" "C:\temp\export\tmp\%%~nxa"
)
popd
