Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!att!mcdchg!ddsw1!tronsbox!tron1 From: tron1@tronsbox.UUCP (HIM) Newsgroups: comp.sys.amiga Subject: Not accepted DIR command Message-ID: <[2528aba5:1551.1]comp.sys.amiga;1@tronsbox.UUCP> Date: 3 Oct 89 22:00:09 GMT References: <3831@vtt.vtt.fi> Lines: 29 >accept the command "DIR copy 2 of XXX:" and if you write DIR DF0: The correct command would then be DIR "copy 2 of XXX:" The reason workbench will understand and CLI does not (without the ""'s) is that Wokbench is reading that data from the ICOM as one string , ignoring anythjing in that string until it hits a HEX 00. Sinceyou click on a icon, there is no way to mistake which disk you mean. CLI has to work with TYPED commands. Now , the space is commonly used to seperate commands and options ... so, cli see's DIR copy of XXX: as DIR copy OPTIONS of XXX: By using the ""'s , yiou tell CLI that everything between them is one word. **************************************************************************** So Lord, I'd think you more than wise, (and me much less a jerk) if only once you might supply..... SOME PENGUIN WINGS THAT WORK!" Opus '83 - 89 R.I.P. UUCP: tron1@tronsbox.UUCP uunet!mimsy!oddjob!clout!ddsw1!tronsbox!tron1 Sysop, The Penthouse ]I[ BBS - (201)759-8450 / (201)759-8568 ****************************************************************************