Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Struggling with exec command within BODI

$
0
0

HI,

 

I am trying to run a script which archives the feed file that gets read in within BODI. the script looks something like this:

 

      1. ARCHIVE FEED FILES #######################################

 

    1. A batch file will be execeuted to archive the feedfiles

 

$String1 = 'C:\TestFolder\ARCHIVE_FILE.cmd';

$ArchiveFilePath = 'C:\TestFolder\Archive\Test1';

$FeedFilePath= 'C:\TestFolder\Feeds\Test1\TestFile.txt';

 

exec( $String1,$FeedFilePath $ArchiveFilePath, 8);

 

The BAT file defined in $String1 is:

 

--rem created by Azeem Farooqui

 

move %1 %2

 

Unfortunately BODI keeps on throwing an error saying that the syntax isn't correct.

 

Does anyone know which syntax to use in this case?

 

Please not I am running BODI of windows.

 

Thanks


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>