"C:\Program Files\OutSystems\Service Studio 5.1\ServiceStudio.exe" -importResource espace.oml resource_filename [target_path] It took some time to go over all the filenames and add the target path after the DIR command and the replace action mentioned earlier