[Coco] Re: Re: Re: Re: Re: Nitros9 Script question

Rodney V Hamilton Rodney_Hamilton at GBRonline.com
Mon Oct 4 19:13:04 EDT 2004


To Mark, Fred, Charlie, et al:

This "DIR" behavior has nothing to do with Shell, or any OS release version.
DIR expects its argument to be a directory, not a file.  DIR for OS9 and
NitrOS9 has always worked this way; it never worked with ordinary files.
(this is NOT an MSDOS version)  If you had a DIR that worked with files
AND directories, it was a replacement utility, not the 'stock' version.

Rodney

Mark Marlette wrote:
>This sounds more like a shell issue. I'm not in front of a CoCo now or will
>be for 24+ hours, :(. So Boisy or Robert correct me here if I mislead. I
>***think*** shell+ is the standard default shell in the NitrOS
>distributions. Shell+ handles scripts differently than the stock Tandy
>shell did. In the CMDS dir there are different shells. Find the one that
>works for you. Could be an OS issue but I doubt it.
>
>As far as wildcards go....I do this often, so often I don't recall what I'm
>using or how I have it setup at home. Run scripts or use the path command
>of shell+ to point to my special commands. The command is dir, just don't
>know the flavor right now. Will try when I get with range of a tre....Did
>that one for you Kevin..... :)
>
>Mark
>
> 
>
>>> > ><mmarlett at isd.net> wrote in message
>>> > >news:41619e62.3eec.0 at isd.net...
>>> > >>
>>> > >>
>>> > >> Charlie,
>>> > >>
>>> > >> :dir -e *.adv doesn't work???????
>>> > >>
>>> > >> Add the : in front of the dir command.
>>> > >>
>>> > >> ????
>>> > >>
>>> > >> Mark
>>> > >>
>>
>>> > >Mark,
>>> > >
>>> > >Nitros9 3.02.01, using the Kyumgai directory I typed :dir -e 
>>> *.vef and I
>>> > get
>>> > >error 214. 214 is no permission.
>>> > >
>>> > >Charlie
>>
>>While following your thread, I got curious, so I tried it out myself. I
>>also got an 'Error 214 - No Permission' when I tried the command ':dir -e
>>*.doc' in a directory with a lot of .doc files.
>>
>>I am running NitrOS-9 ver. 03.02.04.
>>
>>I've noticed a similar problem with a few other commands. I keep getting
>>'No Permission' errors with certain commands that I never got before
>>upgrading to 03.02.04. Most notably 'bak' and 'dircopy', which are two
>>Cocopro! utilities I have which copy directories.
>>
>>Fred Provoncha





More information about the Coco mailing list