Hi Alberto, Make sure you null terminate your command. This works OK for me:- identification division. program-id. Program1. environment division. configuration section. data division. working-storage section. procedure division. call "system" using z"dir c:\|more" goback. You can also use the X"91" Function 35 call to do this:- documentation.microfocus.com/.../index.jsp ;cp=5_5_3_9_30_6 or go to a Windows API (CreateProcess). Regards David
↧