Problem solve Get help with specific problems with your technologies, process and projects.

Running a .BAT file from the IFS

How can I run a .BAT file stored in an IFS directory from a batched CL program? OS/400 is not capable of running...

batch file (hank goodness for this) so you will need a PC with the following attributes:

  • Install Client Access on the PC (i.e. MYPC)
  • Activate the incoming remote command service
  • Map network drive from the PC to your iSeries (i.e. f = mydir on the iSeries where the batch file resides in mydir directory)
  • Run remote command from the iSeries batch file:

    RUNRMTCMD CMD('f:mybat')


    Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

    The Best Web Links: Tips, tutorials and more.

    PC/Windows connectivity expert Shahar Mor is available to answer your toughest networking questions. Ask Shahar a question or read his previously answered questions here.

  • This was last published in August 2004

    Dig Deeper on FTP

    Have a question for an expert?

    Please add a title for your question

    Get answers from a TechTarget expert on whatever's puzzling you.

    You will be able to add details on the next page.

    Start the conversation

    Send me notifications when other members comment.

    By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

    Please create a username to comment.