Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Copying a file

$
0
0

Hi guys,

 

i have created command zcmd in SM69 to run a .BAT file for copying a file from PC one directory to another.

in SM69 i defined

Command name: ZCMD

Operating system: UNIX

Operating system command: cmd /c

 

inside Copy.bat file have command is

Copy C:\File\vendorpay.csv D:\Data\Pay.csv

 

 

Then in SM49 while executing, i have given the BAT file path in Additional Parameters C:\File\copy.bat.

It throws below error.

 

Error:

Can't exec external program (No such file or directory)                                                                                                                                                                                                        External program terminated with exit code 1

 

Please help me.

 

 

Thanks

Leena


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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