Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!spool.mu.edu!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!cpca From: cpca@marlin.jcu.edu.au (Colin Adams) Newsgroups: comp.sys.amiga.programmer Subject: System call in 2.0 Message-ID: <1991Apr2.051333.28230@marlin.jcu.edu.au> Date: 2 Apr 91 05:13:33 GMT Organization: James Cook University Lines: 30 I've been having some minor problems with the System() call (dos.lib) in AmigaDOS 2.0. It works fine when I specify input/output streams that are taken from the DOS Input() && Output() calls. But when I open a filehandle to the current window ie. file = Open("*",MODE_OLDFILE) and pass file to System() to specify input/output, then none of the programs in the c: directory (eg. dir, list, copy) function correctly. ie. System("copy",tagarray); brings the system down in a big way. Is there something different about the C= c: directory programs that means they can't take a filehandle to * as input? I would like to use this for my own shell running in it's own window, but the C= c: directory programs don't seem to work when passed a filehandle to a CON: window for i/o either.... Am I doing something wrong? -- Colin Adams Computer Science Department James Cook University Internet : cpca@marlin.jcu.edu.au North Queensland 'And on the eight day, God created Manchester'