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

cannot create process with image file

$
0
0

Please help me in fixing this command.

 

I wrote a script to delete a file from a location before starting a job. But is not working.

 

 

print (exec('del','[$GV_OUTBOUND_DIR]\\[$GV_FILE_NAME]',8));

 

 

[$GV_OUTBOUND_DIR] - added path O:\Project\++Projects\Cube\ETL_Unit_test


[$GV_FILE_NAME] - File name with extension, eg: FILEGEN.txt




Below is the error message :



 

158953344824096PRINTFN6/20/2016 2:14:00 AM1: Cannot create process with image file <del> and command line
158953344824096PRINTFN6/20/2016 2:14:00 AM<delO:\Project\++Projects\Cube\ETL_Unit_test\FILEGEN.txt >, due to error <No such file or directory>.

Viewing all articles
Browse latest Browse all 4013

Trending Articles



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