How to use B34A1030 to copy a PDF file
Hi,
I need to copy a PDF file between two different locations on the file server in an UBE.
How can I do this?
This is on a Windows server.
The command I'm using in my UBE is:
VA rpt_szCopyCommand_STRING = concat(concat(concat("cmd /k copy ",[VA rpt_szSourceFilePathName_PTH])," "),[VA rpt_szTargetFilePathName_PTH])
Business Function used: B34A1030
When I use this command, the CMD prompt opens on my computer not the server, and the file is not copied.
Debugger Output:
In this command I am temporarily using "/k" in the command: "cmd /k". This is to keep the command window open. Once this is working the command will read "cmd /c".