Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!oliveb!amiga!cbmvax!ewout
From: ewout@cbmvax.UUCP (Ewout Walraven - CATS)
Newsgroups: comp.sys.amiga
Subject: Re: Not accepted DIR command
Message-ID: <8057@cbmvax.UUCP>
Date: 2 Oct 89 19:11:53 GMT
References: <3831@vtt.vtt.fi>
Reply-To: ewout@cbmvax.UUCP (Ewout Walraven - CATS)
Organization: Commodore Technology, West Chester, PA
Lines: 45

In article <3831@vtt.vtt.fi> lucenius@vtt.vtt.fi (Jan, puh 4566511, 
Lue heti !) writes:
>I bought some weeks ago a PD program for Amiga. This does not work
>from WB (You can open the disk but you don't see the content). Thus
>it must be used from CLI. That was not however possible, because
>(assume that the name of the original disk is XXX) the name of the
>disk was of the style "copy 2 of XXX". CLI does not understand or
>accept the command "DIR copy 2 of XXX:" and if you write DIR DF0:

Try 
DIR "copy 2 of XXX:"

If arguments contain space(s), you need to embrace them with 
quotes, since arguments are normally separated by a space. Since
you included both the command (DIR) and the argument in quotes, 
you specifically indicated just one argument, instead of a command
with argument (and you got a "Please insert volume DIR copy 2 of
XXX" requester). Each argument (or command for that matter) should  
have it's own set of quotes, if needed.

>it won't give you the content of any other disk than that one which
>was used when the system was booted or the CLI opened. Copy 2 of XXX
>did not have WB or CLI on it. We also don't have any external disk
>station. It worked when I renamed the disk to for example "XXXX", but
>I don't understand why the CLI should not accept the same names as
>WB. Is CLI really so dumb ? The swedish and finnish manuals do not
>at least give any answer to that ? What is the explanation and how
>is the format of a working CLI -command to get the directories of
>other disks ?
>
>Jan

dir volumename:		(or dir "volume name:" if the name has spaces)

You may want to copy the commands you need (dir, cd type, etc) to 
your ramdisk and assign c: to ram:, so you can swap disks more 
easily (note that if you want to use a command not in ram: you
either have to assign c: back to Workbench1.3:c again or include the
volume and pathname in the command. I.e. Workbench1.3:c/ed or
df0:c/ed if the Workbench is present in the internal drive. )

You'll find more information about this in the AmigaDOS manual,
 published by Bantam.

.ec