'Running a batch File in AS400

Is there a way to run a batch file on my local as400 server from as400 command line as this batch file exists at a shared folder exists on my local as400 server.

batch file:

   cd  C:\D1
    for /R %%f in (*.xml) do (
         echo "%%f" 
         copy %%f  C:\backup
         move %%f  Z:\
          GOTO :Exit
    )
    
    :Exit


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source