Move File in a Batch


Is it possible use System.IO.File::Move() in a batch in AX2012???

Now i use this method, but file remain in the same folder:(

I try winapi too, but the result don’t change.

help me!!


Yes, it is possible. Please debug the batch to see what happens there.

Of course, bother with debugging only if no error gets logged in batch history.


Can you tell us what was the problem? Maybe somebody will have the same issue, will find this discussion and would like to get some advice.