Path: utzoo!attcan!uunet!spool2.mu.edu!samsung!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!zlnem From: zlnem@marlin.jcu.edu.au (N Milward) Newsgroups: comp.sys.amiga.programmer Subject: EXECUTE in C Message-ID: <1991Jan12.062506.19754@marlin.jcu.edu.au> Date: 12 Jan 91 06:25:06 GMT Organization: James Cook University Lines: 13 I'm writing a C program that calls the 2 cli commands copy and makedir. I'm using the call status = Execute("copy ...",0,0); and status = Execute("makedir ...",0,0); I was wondering if there was a way to return errors from the copy and makedir command. Examples of this is if the directory already exists or if the disk is full. Any help would be much appreciated. Ross Milward - zlnem@marlin.jcu.edu.au