Skip to main content
12-Amethyst
Apr 17, 2023 10:05 AM UTC
Question

How to run .bat file which is created while running batch script for Enhnace migration in WBM

After populating contentmap table,

I have created a batch script to load content using Enhance Content Migration with WBM

 

define output_file='copyScript.bat';
spool &output_file;
select
'copy'||srcfilepath||'\'||srcfilename||' '||targetfilepath||'\'||targetfilename||CHR(13) || CHR(10) from contentmap
where srcfilepath like '%EnDemo3%';
spool off;

 

- 'copyScript.bat' has created but how to run this bat file to see the content of my loaded object.

 

1 reply

HelesicPetr
22-Sapphire II
Apr 11, 2024 11:02 AM UTC

@RS_10128209 

What about this 

call copyScript.bat > history.txt

PetrH

Translate